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.0117/0.0117, allocations: 165.3 kB / 15.11 MB, free: 5.969 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.435/1.435, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001821/0.001821, allocations: 110.6 kB / 226.2 MB, free: 10.09 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.388/0.388, allocations: 38.05 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004417/0.0004417, allocations: 12 kB / 362.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1305, allocations: 48.7 MB / 411.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.154/7.284, allocations: 2.503 GB / 2.905 GB, free: 74.79 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003574/7.285, allocations: 87.02 kB / 2.905 GB, free: 74.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.572/10.86, allocations: 0.7397 GB / 3.645 GB, free: 24.52 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.228e-06/10.86, allocations: 0 / 3.645 GB, free: 24.52 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003389/10.86, allocations: 42.59 kB / 3.645 GB, free: 24.52 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.02097/10.88, allocations: 2.796 MB / 3.648 GB, free: 22.91 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.771e-05/10.88, allocations: 6.938 kB / 3.648 GB, free: 22.91 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00654/10.88, allocations: 0.6155 MB / 3.649 GB, free: 22.79 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004233/10.89, allocations: 1.007 MB / 3.65 GB, free: 22.22 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002231/10.89, allocations: 98.09 kB / 3.65 GB, free: 22.18 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006101/10.89, allocations: 112.7 kB / 3.65 GB, free: 22.14 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007449/10.9, allocations: 2.015 MB / 3.652 GB, free: 21.24 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.714e-05/10.9, allocations: 7.875 kB / 3.652 GB, free: 21.24 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003837/10.9, allocations: 47.81 kB / 3.652 GB, free: 21.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.92e-05/10.9, allocations: 46.23 kB / 3.652 GB, free: 21.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006024/10.9, allocations: 1.875 MB / 3.654 GB, free: 20.43 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01534/10.92, allocations: 9.305 MB / 3.663 GB, free: 10.96 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004796/10.92, allocations: 1.6 MB / 3.664 GB, free: 9.363 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04368/10.97, allocations: 21.5 MB / 3.685 GB, free: 1.184 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001026/10.97, allocations: 51.56 kB / 3.685 GB, free: 1.125 MB / 474.7 MB Notification: Performance of pre-optimization done (n=94): time 5.971e-06/10.97, allocations: 0 / 3.685 GB, free: 1.125 MB / 474.7 MB Notification: Performance of matching and sorting (n=134): time 0.6008/11.57, allocations: 9.414 MB / 3.694 GB, free: 46.65 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/11.57, allocations: 167.8 kB / 3.695 GB, free: 46.46 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002468/11.57, allocations: 0.7335 MB / 3.695 GB, free: 46.32 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003302/11.57, allocations: 48.86 kB / 3.695 GB, free: 46.29 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009066/11.57, allocations: 0.6154 MB / 3.696 GB, free: 46.05 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007672/11.57, allocations: 460 kB / 3.696 GB, free: 45.82 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/11.57, allocations: 30.97 kB / 3.696 GB, free: 45.82 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001962/11.57, allocations: 361.4 kB / 3.697 GB, free: 45.52 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/11.58, allocations: 0.8232 MB / 3.698 GB, free: 45.51 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002714/11.58, allocations: 1.227 MB / 3.699 GB, free: 45.05 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002304/11.58, allocations: 0.94 MB / 3.7 GB, free: 45.04 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.936e-06/11.58, allocations: 3.656 kB / 3.7 GB, free: 45.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.006694/11.59, allocations: 2.615 MB / 3.702 GB, free: 44.88 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001806/11.59, allocations: 4.616 MB / 3.707 GB, free: 40.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-05/11.59, allocations: 12.97 kB / 3.707 GB, free: 40.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006671/11.6, allocations: 1.441 MB / 3.708 GB, free: 40.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/11.6, allocations: 444.5 kB / 3.709 GB, free: 40.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00475/11.6, allocations: 3.268 MB / 3.712 GB, free: 37.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002723/11.61, allocations: 223.5 kB / 3.712 GB, free: 37.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003958/11.61, allocations: 105.5 kB / 3.712 GB, free: 37.95 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/11.61, allocations: 4.219 kB / 3.712 GB, free: 37.95 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006354/11.61, allocations: 2.306 MB / 3.714 GB, free: 37.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.893e-05/11.61, allocations: 12 kB / 3.714 GB, free: 37.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002082/11.61, allocations: 0.6134 MB / 3.715 GB, free: 37.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002864/11.62, allocations: 0.575 MB / 3.716 GB, free: 37.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002678/11.62, allocations: 1.731 MB / 3.717 GB, free: 36.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002581/11.62, allocations: 226.2 kB / 3.717 GB, free: 36.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000343/11.62, allocations: 102.2 kB / 3.718 GB, free: 36.84 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 () * Number of clocked 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.001463/11.62, allocations: 426.9 kB / 3.718 GB, free: 36.64 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006396/11.63, allocations: 132.6 kB / 3.718 GB, free: 36.58 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01525/11.64, allocations: 7.37 MB / 3.725 GB, free: 36.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001135/11.64, allocations: 85.73 kB / 3.725 GB, free: 36.07 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-05/11.64, allocations: 7.344 kB / 3.725 GB, free: 36.07 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.79e-05/11.64, allocations: 6.562 kB / 3.725 GB, free: 36.07 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01946/11.66, allocations: 9.854 MB / 3.735 GB, free: 35.33 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/11.66, allocations: 4.531 kB / 3.735 GB, free: 35.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/11.66, allocations: 322.8 kB / 3.735 GB, free: 35.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009958/11.67, allocations: 2.53 MB / 3.738 GB, free: 35.21 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000303/11.67, allocations: 41.19 kB / 3.738 GB, free: 35.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006655/11.68, allocations: 4.465 MB / 3.742 GB, free: 33.07 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/11.68, allocations: 0 / 3.742 GB, free: 33.07 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/11.69, allocations: 5.043 MB / 3.747 GB, free: 32.56 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001918/11.69, allocations: 0.5374 MB / 3.748 GB, free: 32.29 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00071/11.69, allocations: 29.98 kB / 3.748 GB, free: 32.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002285/11.69, allocations: 228.2 kB / 3.748 GB, free: 32.27 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003644/11.7, allocations: 131.2 kB / 3.748 GB, free: 32.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002013/11.7, allocations: 67.2 kB / 3.748 GB, free: 32.27 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001547/11.7, allocations: 0.6388 MB / 3.749 GB, free: 32.16 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.51e-07/11.7, allocations: 0 / 3.749 GB, free: 32.16 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01388/11.71, allocations: 2.033 MB / 3.751 GB, free: 32.09 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 () * Number of clocked 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.01674/11.73, allocations: 2.27 MB / 3.753 GB, free: 31.84 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01324/11.74, allocations: 4.249 MB / 3.757 GB, free: 31.78 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.859e-05/11.74, allocations: 3.375 kB / 3.757 GB, free: 31.78 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006171/11.75, allocations: 2.287 MB / 3.759 GB, free: 31.75 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004991/11.75, allocations: 0.5664 MB / 3.76 GB, free: 31.73 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1692/11.92, allocations: 79.93 MB / 3.838 GB, free: 13.34 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/11.92, allocations: 1.639 MB / 3.84 GB, free: 11.99 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003948/11.93, allocations: 1.42 MB / 3.841 GB, free: 11.16 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005244/11.93, allocations: 136.8 kB / 3.841 GB, free: 11.05 MB / 474.7 MB Notification: Performance of SimCode: time 2.134e-06/11.93, allocations: 0 / 3.841 GB, free: 11.05 MB / 474.7 MB Notification: Performance of Templates: time 0.6426/12.57, allocations: 73.29 MB / 3.913 GB, free: 39.59 MB / 474.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)