Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.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.TestControlledPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01068/0.01068, allocations: 174.5 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.851/1.851, allocations: 194.5 MB / 210.3 MB, free: 7.543 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.001724/0.001724, allocations: 128.6 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1902/0.1902, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.000365, allocations: 18.03 kB / 406.2 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1214, allocations: 54.87 MB / 461 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.085/7.206, allocations: 2.614 GB / 3.064 GB, free: 131.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003652/7.207, allocations: 87.17 kB / 3.064 GB, free: 131.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.723/10.93, allocations: 0.7598 GB / 3.824 GB, free: 34.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.285e-06/10.93, allocations: 0 / 3.824 GB, free: 34.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001646/10.93, allocations: 40.09 kB / 3.824 GB, free: 34.2 MB / 0.4948 GB 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.01612/10.95, allocations: 2.876 MB / 3.827 GB, free: 32.81 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.649e-05/10.95, allocations: 7.812 kB / 3.827 GB, free: 32.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006629/10.95, allocations: 0.6474 MB / 3.828 GB, free: 32.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004731/10.96, allocations: 1.009 MB / 3.829 GB, free: 32.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002743/10.96, allocations: 98.34 kB / 3.829 GB, free: 32.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006773/10.96, allocations: 106.9 kB / 3.829 GB, free: 32.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0077/10.97, allocations: 2.017 MB / 3.831 GB, free: 31.99 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-05/10.97, allocations: 2.906 kB / 3.831 GB, free: 31.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003509/10.97, allocations: 58.09 kB / 3.831 GB, free: 31.99 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.89e-05/10.97, allocations: 42.73 kB / 3.831 GB, free: 31.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005614/10.97, allocations: 1.877 MB / 3.833 GB, free: 31.97 MB / 0.4948 GB 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.01584/10.99, allocations: 9.301 MB / 3.842 GB, free: 25.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005129/10.99, allocations: 1.604 MB / 3.843 GB, free: 25.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05013/11.04, allocations: 21.55 MB / 3.864 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/11.04, allocations: 45.95 kB / 3.864 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=94): time 6.362e-06/11.04, allocations: 0 / 3.864 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=134): time 0.05297/11.1, allocations: 9.425 MB / 3.874 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001788/11.1, allocations: 175.6 kB / 3.874 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/11.1, allocations: 0.7316 MB / 3.875 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002848/11.1, allocations: 53.14 kB / 3.875 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006234/11.1, allocations: 0.6059 MB / 3.875 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005904/11.1, allocations: 455.4 kB / 3.876 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/11.1, allocations: 32.09 kB / 3.876 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002009/11.1, allocations: 367.9 kB / 3.876 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/11.1, allocations: 0.8243 MB / 3.877 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/11.11, allocations: 1.23 MB / 3.878 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002757/11.11, allocations: 0.9398 MB / 3.879 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.638e-05/11.11, allocations: 3.875 kB / 3.879 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.00662/11.12, allocations: 2.618 MB / 3.881 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002186/11.12, allocations: 4.61 MB / 3.886 GB, free: 19.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.966e-05/11.12, allocations: 12.06 kB / 3.886 GB, free: 19.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006666/11.12, allocations: 1.458 MB / 3.887 GB, free: 19.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/11.13, allocations: 432.7 kB / 3.888 GB, free: 19.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00546/11.13, allocations: 3.276 MB / 3.891 GB, free: 17.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/11.13, allocations: 227.8 kB / 3.891 GB, free: 17.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004552/11.14, allocations: 107.8 kB / 3.891 GB, free: 17.31 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/11.14, allocations: 3.875 kB / 3.891 GB, free: 17.31 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006019/11.14, allocations: 2.308 MB / 3.894 GB, free: 17.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-05/11.14, allocations: 11.47 kB / 3.894 GB, free: 17.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001919/11.14, allocations: 0.6142 MB / 3.894 GB, free: 17.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002759/11.15, allocations: 0.5738 MB / 3.895 GB, free: 17.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002665/11.15, allocations: 1.727 MB / 3.896 GB, free: 16.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/11.15, allocations: 229.5 kB / 3.897 GB, free: 16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003267/11.15, allocations: 98.75 kB / 3.897 GB, free: 16 MB / 0.5105 GB 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.001359/11.15, allocations: 414.7 kB / 3.897 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005218/11.15, allocations: 129 kB / 3.897 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/11.17, allocations: 7.374 MB / 3.904 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.73e-05/11.17, allocations: 88.59 kB / 3.905 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.298e-05/11.17, allocations: 3.188 kB / 3.905 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.668e-05/11.17, allocations: 7.125 kB / 3.905 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01693/11.18, allocations: 9.847 MB / 3.914 GB, free: 9.934 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/11.18, allocations: 3.062 kB / 3.914 GB, free: 9.934 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001418/11.18, allocations: 329.2 kB / 3.915 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007119/11.19, allocations: 2.521 MB / 3.917 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003757/11.19, allocations: 44.97 kB / 3.917 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006124/11.2, allocations: 4.454 MB / 3.921 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/11.2, allocations: 0 / 3.921 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/11.21, allocations: 5.038 MB / 3.926 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002131/11.21, allocations: 0.5376 MB / 3.927 GB, free: 0.5703 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006646/11.21, allocations: 31.95 kB / 3.927 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002258/11.21, allocations: 219.2 kB / 3.927 GB, free: 384 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004504/11.21, allocations: 144.3 kB / 3.927 GB, free: 296 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002424/11.22, allocations: 66.41 kB / 3.927 GB, free: 240 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002278/11.22, allocations: 0.6692 MB / 3.928 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/11.22, allocations: 0 / 3.928 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01372/11.23, allocations: 2.05 MB / 3.93 GB, free: 13.78 MB / 0.5261 GB 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.01481/11.25, allocations: 2.298 MB / 3.932 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01296/11.26, allocations: 4.241 MB / 3.936 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/11.26, allocations: 0 / 3.936 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005213/11.26, allocations: 2.297 MB / 3.939 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003992/11.27, allocations: 0.5493 MB / 3.939 GB, free: 5.906 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6018/11.87, allocations: 81.28 MB / 4.018 GB, free: 56.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/11.87, allocations: 1.647 MB / 4.02 GB, free: 56.21 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003169/11.87, allocations: 1.422 MB / 4.021 GB, free: 56.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004495/11.87, allocations: 127.8 kB / 4.022 GB, free: 56.14 MB / 0.5261 GB Notification: Performance of SimCode: time 7.52e-07/11.87, allocations: 0 / 4.022 GB, free: 56.14 MB / 0.5261 GB Notification: Performance of Templates: time 0.1147/11.99, allocations: 73.14 MB / 4.093 GB, free: 41.15 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe 2>&1)