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.001404/0.001405, allocations: 171.3 kB / 7.638 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.325/1.325, allocations: 170.7 MB / 178.7 MB, free: 15.66 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.001905/0.001905, allocations: 107.5 kB / 218 MB, free: 8.41 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.1666/0.1666, allocations: 37.98 MB / 295.1 MB, free: 9.508 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.904e-05/1.898e-05, allocations: 1.688 kB / 350 MB, free: 37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08845/0.08848, allocations: 48.72 MB / 398.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.269/5.358, allocations: 2.503 GB / 2.892 GB, free: 8.996 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/5.358, allocations: 83.95 kB / 2.892 GB, free: 8.914 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.809/8.167, allocations: 0.7312 GB / 3.623 GB, free: 35.78 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.924e-06/8.167, allocations: 0 / 3.623 GB, free: 35.78 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001402/8.167, allocations: 38.95 kB / 3.623 GB, free: 35.77 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.009249/8.176, allocations: 2.622 MB / 3.626 GB, free: 34.56 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/8.176, allocations: 10.69 kB / 3.626 GB, free: 34.56 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004952/8.181, allocations: 0.6261 MB / 3.627 GB, free: 34.48 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/8.184, allocations: 0.9968 MB / 3.628 GB, free: 34.15 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.52e-05/8.184, allocations: 46.84 kB / 3.628 GB, free: 34.15 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/8.184, allocations: 69.83 kB / 3.628 GB, free: 34.15 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002031/8.186, allocations: 1.076 MB / 3.629 GB, free: 34.14 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/8.188, allocations: 1.301 MB / 3.63 GB, free: 33.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/8.188, allocations: 6 kB / 3.63 GB, free: 33.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/8.188, allocations: 11.75 kB / 3.63 GB, free: 33.74 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.686e-05/8.188, allocations: 42.42 kB / 3.63 GB, free: 33.74 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.165/8.353, allocations: 73.07 MB / 3.701 GB, free: 10.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002357/8.356, allocations: 0.7844 MB / 3.702 GB, free: 10.76 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009649/8.357, allocations: 412.8 kB / 3.703 GB, free: 10.74 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05399/8.411, allocations: 20.18 MB / 3.722 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.262e-05/8.411, allocations: 42.22 kB / 3.722 GB, free: 13.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=86): time 4.859e-06/8.411, allocations: 0 / 3.722 GB, free: 13.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=120): time 0.04689/8.458, allocations: 5.084 MB / 3.727 GB, free: 10.53 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/8.458, allocations: 171 kB / 3.727 GB, free: 10.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/8.46, allocations: 0.7009 MB / 3.728 GB, free: 9.855 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002109/8.46, allocations: 29.7 kB / 3.728 GB, free: 9.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006293/8.461, allocations: 0.6294 MB / 3.729 GB, free: 9.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005181/8.461, allocations: 396.1 kB / 3.729 GB, free: 9.117 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/8.461, allocations: 0 / 3.729 GB, free: 9.117 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002072/8.462, allocations: 359.7 kB / 3.73 GB, free: 8.801 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/8.463, allocations: 0.5266 MB / 3.73 GB, free: 8.527 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/8.464, allocations: 0.9253 MB / 3.731 GB, free: 7.738 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006164/8.471, allocations: 0.9559 MB / 3.732 GB, free: 7.227 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/8.471, allocations: 4 kB / 3.732 GB, free: 7.223 MB / 490.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01037/8.481, allocations: 2.208 MB / 3.734 GB, free: 5.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.3715/8.852, allocations: 4.627 MB / 3.739 GB, free: 65.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.701e-05/8.853, allocations: 10.59 kB / 3.739 GB, free: 65.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003086/8.856, allocations: 0.8335 MB / 3.739 GB, free: 65.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/8.857, allocations: 365.5 kB / 3.74 GB, free: 65.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005605/8.863, allocations: 3.396 MB / 3.743 GB, free: 63.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/8.866, allocations: 220.8 kB / 3.743 GB, free: 63.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000321/8.866, allocations: 88.14 kB / 3.743 GB, free: 63.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/8.866, allocations: 6 kB / 3.743 GB, free: 63.3 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004757/8.871, allocations: 1.468 MB / 3.745 GB, free: 63.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.269e-05/8.871, allocations: 12.94 kB / 3.745 GB, free: 63.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.692e-05/8.871, allocations: 21.38 kB / 3.745 GB, free: 63.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003204/8.874, allocations: 0.616 MB / 3.745 GB, free: 63.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.834e-05/8.874, allocations: 29.17 kB / 3.745 GB, free: 63.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002066/8.876, allocations: 196.3 kB / 3.746 GB, free: 63.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/8.876, allocations: 77.41 kB / 3.746 GB, free: 63.3 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump1.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real 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: 53 * Number of states: 0 () * Number of discrete variables: 12 (sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,source.medium.phase,source1.medium.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 (142): * Single equations (assignments): 138 * 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.0006756/8.877, allocations: 161.4 kB / 3.746 GB, free: 63.19 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000517/8.878, allocations: 128.9 kB / 3.746 GB, free: 63.19 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/8.888, allocations: 5.922 MB / 3.752 GB, free: 62.85 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001016/8.888, allocations: 65.09 kB / 3.752 GB, free: 62.85 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.025e-05/8.888, allocations: 3.109 kB / 3.752 GB, free: 62.85 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.771e-05/8.889, allocations: 7.312 kB / 3.752 GB, free: 62.85 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/8.901, allocations: 7.897 MB / 3.76 GB, free: 62.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/8.901, allocations: 2.656 kB / 3.76 GB, free: 62.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008645/8.902, allocations: 239.9 kB / 3.76 GB, free: 62.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003885/8.906, allocations: 2.28 MB / 3.762 GB, free: 62.15 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/8.906, allocations: 23.11 kB / 3.762 GB, free: 62.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005197/8.911, allocations: 4.872 MB / 3.767 GB, free: 60 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/8.911, allocations: 0 / 3.767 GB, free: 60 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005479/8.916, allocations: 4.116 MB / 3.771 GB, free: 59.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/8.918, allocations: 496.9 kB / 3.771 GB, free: 59.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003843/8.918, allocations: 9.141 kB / 3.771 GB, free: 59.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/8.92, allocations: 198.7 kB / 3.771 GB, free: 59.31 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002561/8.92, allocations: 108.7 kB / 3.772 GB, free: 59.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/8.92, allocations: 58.38 kB / 3.772 GB, free: 59.31 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001275/8.921, allocations: 0.622 MB / 3.772 GB, free: 59.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/8.921, allocations: 0 / 3.772 GB, free: 59.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009844/8.931, allocations: 1.826 MB / 3.774 GB, free: 59.2 MB / 490.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: 36 ($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,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.region3boundary,$cse19.region3boundary,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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.01049/8.942, allocations: 2.361 MB / 3.776 GB, free: 58.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005806/8.948, allocations: 2.91 MB / 3.779 GB, free: 58.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/8.948, allocations: 2.156 kB / 3.779 GB, free: 58.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002582/8.95, allocations: 1.726 MB / 3.781 GB, free: 58.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002899/8.953, allocations: 0.4883 MB / 3.781 GB, free: 58.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005368/8.958, allocations: 3.316 MB / 3.785 GB, free: 58.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009813/8.959, allocations: 1.556 MB / 3.786 GB, free: 57.43 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002926/8.962, allocations: 1.558 MB / 3.788 GB, free: 57.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/8.963, allocations: 102.4 kB / 3.788 GB, free: 57.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.623e-06/8.963, allocations: 0 / 3.788 GB, free: 57.4 MB / 490.7 MB Notification: Performance of Templates: time 0.0892/9.052, allocations: 60.75 MB / 3.847 GB, free: 54.11 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)