Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00102/0.00102, allocations: 174.2 kB / 7.649 MB, free: 1.398 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.615/1.615, allocations: 194.3 MB / 202.4 MB, free: 8.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001569/0.001569, allocations: 114.7 kB / 247.4 MB, free: 6.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2122/0.2122, allocations: 39.95 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.682e-05/1.684e-05, allocations: 4 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1001, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.925/6.025, allocations: 2.587 GB / 3.025 GB, free: 154.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/6.026, allocations: 89.64 kB / 3.025 GB, free: 154.3 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.734/6.76, allocations: 212.7 MB / 3.232 GB, free: 84.66 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.124e-06/6.76, allocations: 3.938 kB / 3.232 GB, free: 84.66 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.286e-05/6.76, allocations: 10.44 kB / 3.232 GB, free: 84.66 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005039/6.765, allocations: 1.156 MB / 3.234 GB, free: 84.05 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/6.765, allocations: 12.28 kB / 3.234 GB, free: 84.05 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001846/6.767, allocations: 225.4 kB / 3.234 GB, free: 84.02 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000745/6.768, allocations: 385.5 kB / 3.234 GB, free: 83.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.138e-05/6.768, allocations: 15.61 kB / 3.234 GB, free: 83.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.045e-05/6.768, allocations: 18.78 kB / 3.234 GB, free: 83.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005248/6.768, allocations: 296.6 kB / 3.235 GB, free: 83.79 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005403/6.769, allocations: 378.5 kB / 3.235 GB, free: 83.65 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/6.769, allocations: 7.438 kB / 3.235 GB, free: 83.65 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.354e-05/6.769, allocations: 0 / 3.235 GB, free: 83.65 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/6.769, allocations: 6.719 kB / 3.235 GB, free: 83.65 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00533/6.774, allocations: 3.889 MB / 3.239 GB, free: 80.95 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/6.775, allocations: 229.2 kB / 3.239 GB, free: 80.92 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/6.775, allocations: 121.2 kB / 3.239 GB, free: 80.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09554/6.87, allocations: 50.23 MB / 3.288 GB, free: 53.28 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/6.87, allocations: 33.88 kB / 3.288 GB, free: 53.24 MB / 474.7 MB Notification: Performance of pre-optimization done (n=24): time 2.104e-06/6.871, allocations: 0 / 3.288 GB, free: 53.24 MB / 474.7 MB Notification: Performance of matching and sorting (n=24): time 0.001782/6.872, allocations: 0.4998 MB / 3.289 GB, free: 53.19 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/6.872, allocations: 106.8 kB / 3.289 GB, free: 53.06 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/6.873, allocations: 242.5 kB / 3.289 GB, free: 52.96 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/6.873, allocations: 25.7 kB / 3.289 GB, free: 52.93 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/6.873, allocations: 217.5 kB / 3.289 GB, free: 52.79 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.301e-05/6.873, allocations: 85.3 kB / 3.289 GB, free: 52.73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/6.873, allocations: 3.469 kB / 3.289 GB, free: 52.73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.11e-05/6.873, allocations: 345.3 kB / 3.29 GB, free: 52.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/6.873, allocations: 82.91 kB / 3.29 GB, free: 52.41 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/6.873, allocations: 204.9 kB / 3.29 GB, free: 52.27 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005862/6.874, allocations: 170.2 kB / 3.29 GB, free: 52.25 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/6.874, allocations: 0 / 3.29 GB, free: 52.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008932/6.875, allocations: 387.3 kB / 3.29 GB, free: 52.11 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/6.875, allocations: 7.031 kB / 3.29 GB, free: 52.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/6.875, allocations: 3.75 kB / 3.29 GB, free: 52.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/6.875, allocations: 3.875 kB / 3.29 GB, free: 52.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/6.875, allocations: 108 kB / 3.29 GB, free: 52.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/6.875, allocations: 3.969 kB / 3.29 GB, free: 52.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/6.876, allocations: 57.41 kB / 3.291 GB, free: 52.08 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/6.876, allocations: 23.78 kB / 3.291 GB, free: 52.07 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 5 (SourceP1.medium.phase,SinkP1.medium.phase,Opening.y,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.41e-05/6.876, allocations: 112.8 kB / 3.291 GB, free: 51.96 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.958e-05/6.876, allocations: 38.59 kB / 3.291 GB, free: 51.94 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/6.878, allocations: 1.625 MB / 3.292 GB, free: 51.16 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.368e-05/6.878, allocations: 26.34 kB / 3.292 GB, free: 51.15 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/6.878, allocations: 3.562 kB / 3.292 GB, free: 51.15 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/6.878, allocations: 6.484 kB / 3.292 GB, free: 51.14 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007899/6.878, allocations: 0.8122 MB / 3.293 GB, free: 50.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/6.879, allocations: 0 / 3.293 GB, free: 50.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/6.879, allocations: 85.5 kB / 3.293 GB, free: 50.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/6.879, allocations: 7.531 kB / 3.293 GB, free: 50.65 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/6.879, allocations: 3.469 kB / 3.293 GB, free: 50.65 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/6.879, allocations: 7.781 kB / 3.293 GB, free: 50.65 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/6.879, allocations: 0 / 3.293 GB, free: 50.65 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/6.88, allocations: 0.9087 MB / 3.294 GB, free: 50.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/6.88, allocations: 203 kB / 3.294 GB, free: 50.01 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.473e-05/6.88, allocations: 3.953 kB / 3.294 GB, free: 50.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/6.88, allocations: 37.45 kB / 3.294 GB, free: 50 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.987e-05/6.881, allocations: 33.61 kB / 3.294 GB, free: 50 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/6.881, allocations: 12 kB / 3.294 GB, free: 49.99 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002843/6.881, allocations: 266.9 kB / 3.295 GB, free: 49.84 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.323e-06/6.881, allocations: 0 / 3.295 GB, free: 49.84 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004907/6.886, allocations: 0.9805 MB / 3.296 GB, free: 49.65 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,SourceP1.medium.phase,SinkP1.medium.phase,Opening.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007566/6.893, allocations: 1.447 MB / 3.297 GB, free: 49.26 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006363/6.894, allocations: 459 kB / 3.297 GB, free: 49.08 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/6.894, allocations: 320 / 3.297 GB, free: 49.08 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003923/6.894, allocations: 423.2 kB / 3.298 GB, free: 48.88 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/6.896, allocations: 165.7 kB / 3.298 GB, free: 48.84 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.104/7, allocations: 54.34 MB / 3.351 GB, free: 2.867 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005336/7, allocations: 0.9597 MB / 3.352 GB, free: 1.879 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006182/7.001, allocations: 253.5 kB / 3.352 GB, free: 1.637 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/7.001, allocations: 39.44 kB / 3.352 GB, free: 1.598 MB / 474.7 MB Notification: Performance of SimCode: time 1.252e-06/7.001, allocations: 3.938 kB / 3.352 GB, free: 1.594 MB / 474.7 MB Notification: Performance of Templates: time 0.3332/7.334, allocations: 27.51 MB / 3.379 GB, free: 92.14 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe 2>&1)