Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.Machines.TestWaterPumpDefaultCV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009656/0.0009655, allocations: 187.3 kB / 7.654 MB, free: 1.402 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.544/1.544, allocations: 194.3 MB / 202.4 MB, free: 8.547 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.001705/0.001706, allocations: 113.5 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.1987/0.1987, allocations: 39.94 MB / 332.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.829e-05/1.831e-05, allocations: 4 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.103, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.239/6.342, allocations: 2.612 GB / 3.05 GB, free: 136 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/6.342, allocations: 85.89 kB / 3.05 GB, free: 135.9 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453/7.795, allocations: 433.1 MB / 3.473 GB, free: 44.87 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.145e-06/7.795, allocations: 0 / 3.473 GB, free: 44.87 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.333e-05/7.795, allocations: 17.2 kB / 3.473 GB, free: 44.87 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.007709/7.803, allocations: 1.781 MB / 3.475 GB, free: 43.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/7.803, allocations: 7.25 kB / 3.475 GB, free: 43.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002915/7.806, allocations: 337.4 kB / 3.475 GB, free: 43.72 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/7.807, allocations: 0.5925 MB / 3.476 GB, free: 43.32 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.402e-05/7.807, allocations: 26.69 kB / 3.476 GB, free: 43.32 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/7.808, allocations: 40.41 kB / 3.476 GB, free: 43.32 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001142/7.809, allocations: 0.5567 MB / 3.476 GB, free: 43.12 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/7.81, allocations: 0.6675 MB / 3.477 GB, free: 42.75 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/7.81, allocations: 5.531 kB / 3.477 GB, free: 42.75 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-05/7.81, allocations: 0 / 3.477 GB, free: 42.75 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-05/7.81, allocations: 24.72 kB / 3.477 GB, free: 42.75 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.07559/7.886, allocations: 36.66 MB / 3.513 GB, free: 10.38 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009858/7.887, allocations: 448 kB / 3.513 GB, free: 9.93 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/7.887, allocations: 196.8 kB / 3.513 GB, free: 9.734 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03728/7.924, allocations: 20.04 MB / 3.533 GB, free: 3.207 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.375e-05/7.924, allocations: 42.5 kB / 3.533 GB, free: 3.156 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 4.459e-06/7.925, allocations: 0 / 3.533 GB, free: 3.156 MB / 490.7 MB Notification: Performance of matching and sorting (n=63): time 0.3467/8.271, allocations: 3.61 MB / 3.537 GB, free: 67.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/8.271, allocations: 111.4 kB / 3.537 GB, free: 67.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006679/8.272, allocations: 420.8 kB / 3.537 GB, free: 67.51 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.712e-05/8.272, allocations: 29.61 kB / 3.537 GB, free: 67.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/8.272, allocations: 363 kB / 3.537 GB, free: 67.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/8.272, allocations: 204.7 kB / 3.538 GB, free: 67.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/8.273, allocations: 0 / 3.538 GB, free: 67.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/8.273, allocations: 377.6 kB / 3.538 GB, free: 66.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004891/8.273, allocations: 324.1 kB / 3.538 GB, free: 66.97 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006084/8.274, allocations: 0.5347 MB / 3.539 GB, free: 66.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002133/8.276, allocations: 0.5488 MB / 3.539 GB, free: 66.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/8.276, allocations: 6.016 kB / 3.539 GB, free: 66.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003577/8.28, allocations: 1.331 MB / 3.541 GB, free: 66.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005516/8.28, allocations: 2.439 MB / 3.543 GB, free: 64.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/8.28, allocations: 9.141 kB / 3.543 GB, free: 64.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003393/8.283, allocations: 0.8045 MB / 3.544 GB, free: 64.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006832/8.284, allocations: 174.4 kB / 3.544 GB, free: 64.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00291/8.287, allocations: 1.964 MB / 3.546 GB, free: 63.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/8.288, allocations: 118.2 kB / 3.546 GB, free: 63.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/8.288, allocations: 51.53 kB / 3.546 GB, free: 63.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/8.288, allocations: 3.719 kB / 3.546 GB, free: 63.02 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003147/8.292, allocations: 0.972 MB / 3.547 GB, free: 62.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/8.292, allocations: 7.422 kB / 3.547 GB, free: 62.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001846/8.294, allocations: 367.2 kB / 3.547 GB, free: 62.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008907/8.294, allocations: 199.8 kB / 3.548 GB, free: 62.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/8.296, allocations: 1.477 MB / 3.549 GB, free: 61.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/8.297, allocations: 98.09 kB / 3.549 GB, free: 61.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.711e-05/8.297, allocations: 47.45 kB / 3.549 GB, free: 61.91 MB / 490.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 (69): * Single equations (assignments): 67 * 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 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003983/8.298, allocations: 131.6 kB / 3.549 GB, free: 61.81 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/8.298, allocations: 70.78 kB / 3.549 GB, free: 61.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004868/8.303, allocations: 3.448 MB / 3.553 GB, free: 61.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.693e-05/8.303, allocations: 34.23 kB / 3.553 GB, free: 61.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/8.303, allocations: 0 / 3.553 GB, free: 61.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/8.303, allocations: 6.75 kB / 3.553 GB, free: 61.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005244/8.308, allocations: 4.633 MB / 3.557 GB, free: 61.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/8.308, allocations: 3.703 kB / 3.557 GB, free: 61.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/8.309, allocations: 85.83 kB / 3.557 GB, free: 61.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002965/8.312, allocations: 1.717 MB / 3.559 GB, free: 61.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.764e-05/8.312, allocations: 14.11 kB / 3.559 GB, free: 61.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/8.314, allocations: 2.8 MB / 3.562 GB, free: 59.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/8.314, allocations: 0 / 3.562 GB, free: 59.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003589/8.318, allocations: 2.588 MB / 3.564 GB, free: 59.65 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/8.318, allocations: 315 kB / 3.565 GB, free: 59.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/8.318, allocations: 0.7188 kB / 3.565 GB, free: 59.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007079/8.319, allocations: 95.88 kB / 3.565 GB, free: 59.49 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/8.319, allocations: 63.25 kB / 3.565 GB, free: 59.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.939e-05/8.319, allocations: 31.53 kB / 3.565 GB, free: 59.49 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004123/8.32, allocations: 364.3 kB / 3.565 GB, free: 59.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/8.32, allocations: 0 / 3.565 GB, free: 59.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008132/8.328, allocations: 1.523 MB / 3.567 GB, free: 59.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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,$cse11.phase,$cse11.region,$cse12.phase,$cse12.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 (41): * Single equations (assignments): 32 * 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 13,2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.006287/8.334, allocations: 1.924 MB / 3.569 GB, free: 59.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00305/8.337, allocations: 1.715 MB / 3.57 GB, free: 59.19 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/8.337, allocations: 0 / 3.57 GB, free: 59.19 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001063/8.338, allocations: 0.9633 MB / 3.571 GB, free: 59.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/8.34, allocations: 277.7 kB / 3.571 GB, free: 59.17 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/8.342, allocations: 1.8 MB / 3.573 GB, free: 58.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/8.342, allocations: 1.136 MB / 3.574 GB, free: 58.07 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001222/8.344, allocations: 0.7515 MB / 3.575 GB, free: 58.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/8.344, allocations: 57.02 kB / 3.575 GB, free: 58.05 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/8.344, allocations: 0 / 3.575 GB, free: 58.05 MB / 490.7 MB Notification: Performance of Templates: time 0.05327/8.397, allocations: 46.63 MB / 3.621 GB, free: 56 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1)