Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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.TestWaterPumpStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00135/0.00135, allocations: 170.9 kB / 7.644 MB, free: 1.406 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.347/1.347, 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.001804/0.001804, allocations: 104.5 kB / 218 MB, free: 8.418 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.1939/0.1939, allocations: 37.97 MB / 295.1 MB, free: 9.512 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.583e-05/1.587e-05, allocations: 3.219 kB / 350 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08994/0.08997, allocations: 48.72 MB / 398.7 MB, free: 5.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.106/6.196, allocations: 2.501 GB / 2.891 GB, free: 10.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/6.196, allocations: 87.94 kB / 2.891 GB, free: 10.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.021/8.218, allocations: 421.6 MB / 3.303 GB, free: 41.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.305e-06/8.218, allocations: 0 / 3.303 GB, free: 41.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.982e-05/8.218, allocations: 18.72 kB / 3.303 GB, free: 41.29 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00823/8.226, allocations: 1.706 MB / 3.304 GB, free: 40.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/8.226, allocations: 11.28 kB / 3.304 GB, free: 40.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002842/8.229, allocations: 308.4 kB / 3.305 GB, free: 40.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/8.23, allocations: 0.5866 MB / 3.305 GB, free: 39.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.868e-05/8.231, allocations: 27.72 kB / 3.305 GB, free: 39.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/8.231, allocations: 30.58 kB / 3.305 GB, free: 39.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001152/8.232, allocations: 0.5345 MB / 3.306 GB, free: 39.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/8.233, allocations: 0.6568 MB / 3.306 GB, free: 39.35 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/8.233, allocations: 7.891 kB / 3.306 GB, free: 39.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.563e-05/8.233, allocations: 3.438 kB / 3.306 GB, free: 39.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.598e-05/8.233, allocations: 20.34 kB / 3.306 GB, free: 39.34 MB / 426.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.008348/8.242, allocations: 5.736 MB / 3.312 GB, free: 34.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008394/8.242, allocations: 446.3 kB / 3.312 GB, free: 34.53 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/8.243, allocations: 214 kB / 3.313 GB, free: 34.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1793/8.422, allocations: 81.79 MB / 3.393 GB, free: 2.758 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.016e-05/8.422, allocations: 39 kB / 3.393 GB, free: 2.711 MB / 458.7 MB Notification: Performance of pre-optimization done (n=47): time 3.366e-06/8.422, allocations: 0 / 3.393 GB, free: 2.711 MB / 458.7 MB Notification: Performance of matching and sorting (n=51): time 0.007347/8.43, allocations: 1.793 MB / 3.394 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.411e-05/8.43, allocations: 107.2 kB / 3.394 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007088/8.43, allocations: 381.2 kB / 3.395 GB, free: 364 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.251e-05/8.43, allocations: 29.64 kB / 3.395 GB, free: 328 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3563/8.787, allocations: 342.1 kB / 3.395 GB, free: 74.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003498/8.787, allocations: 169.4 kB / 3.395 GB, free: 74.79 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/8.787, allocations: 1.938 kB / 3.395 GB, free: 74.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/8.787, allocations: 365.3 kB / 3.396 GB, free: 74.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/8.788, allocations: 188.2 kB / 3.396 GB, free: 74.48 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/8.788, allocations: 377.3 kB / 3.396 GB, free: 74.26 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/8.789, allocations: 327.9 kB / 3.396 GB, free: 74.26 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/8.789, allocations: 1.375 kB / 3.396 GB, free: 74.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002325/8.792, allocations: 0.847 MB / 3.397 GB, free: 74.19 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004589/8.792, allocations: 2.181 MB / 3.399 GB, free: 71.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/8.792, allocations: 3.781 kB / 3.399 GB, free: 71.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/8.793, allocations: 294.9 kB / 3.4 GB, free: 71.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000529/8.794, allocations: 136.6 kB / 3.4 GB, free: 71.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/8.795, allocations: 0.9469 MB / 3.401 GB, free: 71.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008417/8.796, allocations: 85.88 kB / 3.401 GB, free: 71.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.937e-05/8.796, allocations: 40.12 kB / 3.401 GB, free: 71.38 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/8.796, allocations: 4.406 kB / 3.401 GB, free: 71.38 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001807/8.798, allocations: 0.6954 MB / 3.402 GB, free: 71.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/8.798, allocations: 9.078 kB / 3.402 GB, free: 71.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/8.799, allocations: 263.7 kB / 3.402 GB, free: 71.35 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005332/8.8, allocations: 151.3 kB / 3.402 GB, free: 71.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/8.801, allocations: 0.8501 MB / 3.403 GB, free: 70.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008145/8.801, allocations: 88.31 kB / 3.403 GB, free: 70.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.595e-05/8.802, allocations: 31.02 kB / 3.403 GB, free: 70.81 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].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 (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002539/8.802, allocations: 129.8 kB / 3.403 GB, free: 70.71 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/8.802, allocations: 56.31 kB / 3.403 GB, free: 70.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004188/8.806, allocations: 2.623 MB / 3.406 GB, free: 70.43 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-05/8.806, allocations: 36.5 kB / 3.406 GB, free: 70.43 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/8.806, allocations: 3.953 kB / 3.406 GB, free: 70.43 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/8.806, allocations: 6.453 kB / 3.406 GB, free: 70.43 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006001/8.812, allocations: 3.564 MB / 3.409 GB, free: 70.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/8.812, allocations: 0.5156 kB / 3.409 GB, free: 70.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008225/8.813, allocations: 168.9 kB / 3.409 GB, free: 70.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002779/8.813, allocations: 67.28 kB / 3.409 GB, free: 70.05 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/8.814, allocations: 16.59 kB / 3.409 GB, free: 70.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007032/8.814, allocations: 1.2 MB / 3.411 GB, free: 68.94 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/8.814, allocations: 4.797 kB / 3.411 GB, free: 68.94 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003931/8.818, allocations: 2.256 MB / 3.413 GB, free: 68.66 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006496/8.819, allocations: 314.1 kB / 3.413 GB, free: 68.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/8.819, allocations: 0.625 kB / 3.413 GB, free: 68.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005189/8.819, allocations: 65.23 kB / 3.413 GB, free: 68.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/8.82, allocations: 54.02 kB / 3.413 GB, free: 68.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/8.82, allocations: 26.94 kB / 3.413 GB, free: 68.49 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005047/8.82, allocations: 360.1 kB / 3.414 GB, free: 68.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.71e-07/8.82, allocations: 0 / 3.414 GB, free: 68.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008103/8.828, allocations: 1.328 MB / 3.415 GB, free: 68.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 23 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse16.phase,$cse16.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01275/8.841, allocations: 1.801 MB / 3.417 GB, free: 68.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003477/8.845, allocations: 1.203 MB / 3.418 GB, free: 68.21 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/8.845, allocations: 0 / 3.418 GB, free: 68.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001475/8.846, allocations: 0.7499 MB / 3.419 GB, free: 68.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/8.848, allocations: 277 kB / 3.419 GB, free: 68.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1149/8.963, allocations: 55.17 MB / 3.473 GB, free: 66.45 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006218/8.964, allocations: 1.151 MB / 3.474 GB, free: 65.73 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00142/8.965, allocations: 0.6797 MB / 3.475 GB, free: 65.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/8.965, allocations: 57.23 kB / 3.475 GB, free: 65.69 MB / 458.7 MB Notification: Performance of SimCode: time 1.633e-06/8.965, allocations: 0 / 3.475 GB, free: 65.69 MB / 458.7 MB Notification: Performance of Templates: time 0.05836/9.024, allocations: 38.58 MB / 3.512 GB, free: 55.33 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1)