Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.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.TestControlledPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00108/0.001081, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.172/1.172, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001687/0.001687, allocations: 107.5 kB / 223.2 MB, free: 4.043 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.162/0.162, allocations: 37.99 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.299e-05/3.307e-05, allocations: 11.98 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09033/0.09038, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.886/4.976, allocations: 2.503 GB / 2.9 GB, free: 133.3 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/4.977, allocations: 84.48 kB / 2.9 GB, free: 133.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424/7.401, allocations: 0.7374 GB / 3.637 GB, free: 34.48 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.492e-06/7.401, allocations: 0 / 3.637 GB, free: 34.48 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.908e-05/7.401, allocations: 42.33 kB / 3.637 GB, free: 34.47 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.008971/7.41, allocations: 2.625 MB / 3.64 GB, free: 33.26 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/7.41, allocations: 6.656 kB / 3.64 GB, free: 33.26 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004549/7.414, allocations: 0.6168 MB / 3.64 GB, free: 33.18 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/7.416, allocations: 1.017 MB / 3.641 GB, free: 32.84 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.523e-05/7.416, allocations: 96.41 kB / 3.641 GB, free: 32.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/7.417, allocations: 110.9 kB / 3.641 GB, free: 32.84 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00362/7.42, allocations: 1.915 MB / 3.643 GB, free: 32.44 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/7.42, allocations: 12 kB / 3.643 GB, free: 32.44 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/7.42, allocations: 58.17 kB / 3.643 GB, free: 32.44 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.136e-05/7.42, allocations: 50 kB / 3.643 GB, free: 32.43 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003236/7.424, allocations: 1.619 MB / 3.645 GB, free: 32.42 MB / 458.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.008146/7.432, allocations: 9.306 MB / 3.654 GB, free: 26.04 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003208/7.435, allocations: 1.398 MB / 3.655 GB, free: 26 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000535/7.436, allocations: 448.5 kB / 3.656 GB, free: 26 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03301/7.469, allocations: 21.58 MB / 3.677 GB, free: 28.28 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.429e-05/7.469, allocations: 44.22 kB / 3.677 GB, free: 28.24 MB / 474.7 MB Notification: Performance of pre-optimization done (n=94): time 2.926e-06/7.469, allocations: 0 / 3.677 GB, free: 28.24 MB / 474.7 MB Notification: Performance of matching and sorting (n=134): time 0.03886/7.508, allocations: 8.033 MB / 3.685 GB, free: 27.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/7.508, allocations: 168.5 kB / 3.685 GB, free: 27.12 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/7.509, allocations: 0.7253 MB / 3.686 GB, free: 26.95 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001267/7.509, allocations: 49.17 kB / 3.686 GB, free: 26.92 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002959/7.509, allocations: 0.6134 MB / 3.686 GB, free: 26.62 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/7.509, allocations: 454.5 kB / 3.687 GB, free: 26.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.297e-05/7.51, allocations: 34.78 kB / 3.687 GB, free: 26.33 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/7.51, allocations: 361.7 kB / 3.687 GB, free: 26.03 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008445/7.511, allocations: 0.5658 MB / 3.688 GB, free: 26.02 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009928/7.512, allocations: 0.9852 MB / 3.689 GB, free: 25.54 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/7.513, allocations: 0.682 MB / 3.689 GB, free: 25.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/7.513, allocations: 3.938 kB / 3.689 GB, free: 25.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003367/7.516, allocations: 2.043 MB / 3.691 GB, free: 25.34 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001557/7.518, allocations: 4.621 MB / 3.696 GB, free: 20.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/7.518, allocations: 11.47 kB / 3.696 GB, free: 20.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005484/7.523, allocations: 1.299 MB / 3.697 GB, free: 20.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/7.525, allocations: 444.5 kB / 3.698 GB, free: 20.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003827/7.529, allocations: 3.104 MB / 3.701 GB, free: 18.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/7.531, allocations: 226.1 kB / 3.701 GB, free: 18.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/7.531, allocations: 107.4 kB / 3.701 GB, free: 18.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/7.531, allocations: 3.812 kB / 3.701 GB, free: 18.27 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003026/7.534, allocations: 1.772 MB / 3.703 GB, free: 18.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/7.534, allocations: 14.72 kB / 3.703 GB, free: 18.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/7.536, allocations: 0.5482 MB / 3.703 GB, free: 18.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00256/7.538, allocations: 0.5721 MB / 3.704 GB, free: 18.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/7.54, allocations: 1.661 MB / 3.705 GB, free: 17.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/7.542, allocations: 225.5 kB / 3.706 GB, free: 17.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/7.543, allocations: 100.5 kB / 3.706 GB, free: 17.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 (source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.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 (148): * Single equations (assignments): 144 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,3 11,1 7,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.00043/7.543, allocations: 202.3 kB / 3.706 GB, free: 16.98 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/7.543, allocations: 132.7 kB / 3.706 GB, free: 16.91 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008154/7.551, allocations: 7.204 MB / 3.713 GB, free: 16.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.281e-05/7.551, allocations: 83.34 kB / 3.713 GB, free: 16.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/7.552, allocations: 0 / 3.713 GB, free: 16.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/7.552, allocations: 7.547 kB / 3.713 GB, free: 16.27 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009866/7.561, allocations: 9.459 MB / 3.722 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/7.561, allocations: 0 / 3.722 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/7.563, allocations: 327.1 kB / 3.723 GB, free: 15.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005688/7.568, allocations: 2.714 MB / 3.725 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/7.569, allocations: 48.42 kB / 3.725 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004238/7.573, allocations: 4.387 MB / 3.73 GB, free: 12.44 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/7.573, allocations: 3.906 kB / 3.73 GB, free: 12.44 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004834/7.578, allocations: 4.592 MB / 3.734 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008815/7.579, allocations: 0.5346 MB / 3.735 GB, free: 9.852 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/7.579, allocations: 26.81 kB / 3.735 GB, free: 9.832 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/7.58, allocations: 241.5 kB / 3.735 GB, free: 9.777 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/7.581, allocations: 134.4 kB / 3.735 GB, free: 9.762 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/7.581, allocations: 64.77 kB / 3.735 GB, free: 9.75 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007485/7.581, allocations: 0.6238 MB / 3.736 GB, free: 9.477 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.01e-07/7.581, allocations: 0 / 3.736 GB, free: 9.477 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008175/7.59, allocations: 2.033 MB / 3.738 GB, free: 9.074 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 46 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 7,3 16,1 7,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.007194/7.597, allocations: 2.268 MB / 3.74 GB, free: 7.715 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00639/7.603, allocations: 3.508 MB / 3.743 GB, free: 4.469 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/7.603, allocations: 0 / 3.743 GB, free: 4.469 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003202/7.606, allocations: 2.038 MB / 3.745 GB, free: 2.57 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00318/7.61, allocations: 0.55 MB / 3.746 GB, free: 2.16 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3882/7.998, allocations: 77.9 MB / 3.822 GB, free: 56.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007589/7.999, allocations: 1.646 MB / 3.824 GB, free: 56.03 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002704/8.001, allocations: 1.466 MB / 3.825 GB, free: 55.95 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/8.002, allocations: 114.1 kB / 3.825 GB, free: 55.95 MB / 490.7 MB Notification: Performance of SimCode: time 9.71e-07/8.002, allocations: 0 / 3.825 GB, free: 55.95 MB / 490.7 MB Notification: Performance of Templates: time 0.09119/8.093, allocations: 77.04 MB / 3.9 GB, free: 39.63 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe 2>&1)