Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001781/0.001781, allocations: 165.8 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.437/1.437, allocations: 170.7 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001551/0.001551, allocations: 119.4 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1794/0.1794, allocations: 37.98 MB / 295.1 MB, free: 9.504 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.76e-05/1.76e-05, allocations: 3.188 kB / 350 MB, free: 37.03 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1099, allocations: 48.73 MB / 398.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.427/6.537, allocations: 2.506 GB / 2.896 GB, free: 18.11 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/6.538, allocations: 85.03 kB / 2.896 GB, free: 18.03 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793/8.331, allocations: 422.3 MB / 3.308 GB, free: 41.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.704e-06/8.331, allocations: 0 / 3.308 GB, free: 41.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.715e-05/8.331, allocations: 17.66 kB / 3.308 GB, free: 41.32 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.009203/8.34, allocations: 1.721 MB / 3.31 GB, free: 40.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/8.34, allocations: 6.469 kB / 3.31 GB, free: 40.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005119/8.346, allocations: 340.5 kB / 3.31 GB, free: 40.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/8.347, allocations: 0.5834 MB / 3.311 GB, free: 40.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.408e-05/8.347, allocations: 23.25 kB / 3.311 GB, free: 40.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/8.348, allocations: 35.3 kB / 3.311 GB, free: 40.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001614/8.349, allocations: 0.5464 MB / 3.311 GB, free: 40.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/8.351, allocations: 0.669 MB / 3.312 GB, free: 39.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/8.351, allocations: 7.891 kB / 3.312 GB, free: 39.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.502e-05/8.351, allocations: 3.25 kB / 3.312 GB, free: 39.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.327e-05/8.351, allocations: 20.62 kB / 3.312 GB, free: 39.89 MB / 426.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.09792/8.449, allocations: 36.7 MB / 3.348 GB, free: 19.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005828/8.45, allocations: 358.5 kB / 3.348 GB, free: 19.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/8.45, allocations: 200.1 kB / 3.348 GB, free: 18.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03531/8.485, allocations: 20.25 MB / 3.368 GB, free: 21.01 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.129e-05/8.485, allocations: 41.44 kB / 3.368 GB, free: 20.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=42): time 3.035e-06/8.485, allocations: 0 / 3.368 GB, free: 20.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.02309/8.508, allocations: 3.316 MB / 3.372 GB, free: 18.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.604e-05/8.509, allocations: 107.4 kB / 3.372 GB, free: 18.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006378/8.509, allocations: 404.7 kB / 3.372 GB, free: 17.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.496e-05/8.509, allocations: 25.7 kB / 3.372 GB, free: 17.83 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/8.51, allocations: 362.5 kB / 3.372 GB, free: 17.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/8.51, allocations: 193.4 kB / 3.373 GB, free: 17.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/8.51, allocations: 0 / 3.373 GB, free: 17.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/8.51, allocations: 371.6 kB / 3.373 GB, free: 16.97 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/8.51, allocations: 272.2 kB / 3.373 GB, free: 16.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004336/8.511, allocations: 484.8 kB / 3.374 GB, free: 16.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/8.512, allocations: 480.3 kB / 3.374 GB, free: 15.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/8.512, allocations: 4 kB / 3.374 GB, free: 15.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002702/8.515, allocations: 1.136 MB / 3.375 GB, free: 14.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009184/8.516, allocations: 2.446 MB / 3.378 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/8.516, allocations: 8 kB / 3.378 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002101/8.518, allocations: 0.5656 MB / 3.378 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005289/8.519, allocations: 165.9 kB / 3.378 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/8.521, allocations: 1.74 MB / 3.38 GB, free: 9.824 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009347/8.522, allocations: 104.6 kB / 3.38 GB, free: 9.746 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.796e-05/8.522, allocations: 46.38 kB / 3.38 GB, free: 9.707 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/8.522, allocations: 8 kB / 3.38 GB, free: 9.699 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002924/8.525, allocations: 0.9676 MB / 3.381 GB, free: 8.863 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/8.525, allocations: 7.953 kB / 3.381 GB, free: 8.855 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/8.526, allocations: 354.8 kB / 3.381 GB, free: 8.586 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/8.527, allocations: 178 kB / 3.382 GB, free: 8.441 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/8.528, allocations: 1.475 MB / 3.383 GB, free: 6.965 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007627/8.529, allocations: 93.98 kB / 3.383 GB, free: 6.895 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.092e-05/8.529, allocations: 35.56 kB / 3.383 GB, free: 6.863 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.000275/8.53, allocations: 139 kB / 3.383 GB, free: 6.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/8.53, allocations: 59.25 kB / 3.383 GB, free: 6.672 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004481/8.534, allocations: 3.369 MB / 3.387 GB, free: 3.699 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.443e-05/8.534, allocations: 44.92 kB / 3.387 GB, free: 3.672 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/8.534, allocations: 0 / 3.387 GB, free: 3.672 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/8.534, allocations: 2.438 kB / 3.387 GB, free: 3.672 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00583/8.54, allocations: 4.296 MB / 3.391 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/8.54, allocations: 0 / 3.391 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/8.541, allocations: 94.36 kB / 3.391 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002742/8.543, allocations: 1.537 MB / 3.392 GB, free: 14.53 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.547e-05/8.543, allocations: 11.84 kB / 3.393 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002928/8.546, allocations: 2.628 MB / 3.395 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/8.546, allocations: 3.938 kB / 3.395 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003422/8.55, allocations: 2.332 MB / 3.397 GB, free: 9.844 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005626/8.55, allocations: 301.2 kB / 3.398 GB, free: 9.566 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/8.551, allocations: 11.89 kB / 3.398 GB, free: 9.555 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007797/8.551, allocations: 94.06 kB / 3.398 GB, free: 9.484 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/8.551, allocations: 54.52 kB / 3.398 GB, free: 9.453 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.587e-05/8.552, allocations: 35.03 kB / 3.398 GB, free: 9.426 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004941/8.552, allocations: 355.2 kB / 3.398 GB, free: 9.109 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.81e-07/8.552, allocations: 0 / 3.398 GB, free: 9.109 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006889/8.559, allocations: 1.489 MB / 3.4 GB, free: 7.656 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01077/8.57, allocations: 1.922 MB / 3.402 GB, free: 6.086 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003913/8.574, allocations: 1.563 MB / 3.403 GB, free: 4.633 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/8.574, allocations: 0 / 3.403 GB, free: 4.633 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/8.575, allocations: 0.9064 MB / 3.404 GB, free: 3.785 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/8.577, allocations: 262.5 kB / 3.404 GB, free: 3.602 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/8.581, allocations: 1.77 MB / 3.406 GB, free: 1.965 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008652/8.581, allocations: 1.132 MB / 3.407 GB, free: 0.957 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001509/8.583, allocations: 0.7351 MB / 3.408 GB, free: 240 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/8.583, allocations: 63.41 kB / 3.408 GB, free: 176 kB / 458.7 MB Notification: Performance of SimCode: time 2.916e-06/8.583, allocations: 4 kB / 3.408 GB, free: 172 kB / 458.7 MB Notification: Performance of Templates: time 0.3456/8.929, allocations: 44.74 MB / 3.451 GB, free: 68.21 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1)