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.002024/0.002024, allocations: 170.2 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.257/1.257, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001642/0.001642, allocations: 99.5 kB / 223.2 MB, free: 4.109 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.1775/0.1775, allocations: 37.99 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.684e-05/2.686e-05, allocations: 4 kB / 357 MB, free: 32.29 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08004/0.08008, allocations: 48.7 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.555/5.636, allocations: 2.502 GB / 2.898 GB, free: 92.59 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/5.636, allocations: 83.66 kB / 2.898 GB, free: 92.59 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.355/6.991, allocations: 425.7 MB / 3.314 GB, free: 46.19 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.683e-06/6.991, allocations: 0 / 3.314 GB, free: 46.19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.239e-05/6.991, allocations: 19.22 kB / 3.314 GB, free: 46.18 MB / 442.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.00673/6.997, allocations: 1.703 MB / 3.316 GB, free: 45.19 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/6.998, allocations: 10.06 kB / 3.316 GB, free: 45.19 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002345/7, allocations: 316.5 kB / 3.316 GB, free: 45.13 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/7.001, allocations: 0.5775 MB / 3.317 GB, free: 44.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.48e-05/7.001, allocations: 46.16 kB / 3.317 GB, free: 44.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.396e-05/7.001, allocations: 56.67 kB / 3.317 GB, free: 44.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/7.003, allocations: 0.9696 MB / 3.318 GB, free: 44.26 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/7.003, allocations: 7.688 kB / 3.318 GB, free: 44.26 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001807/7.003, allocations: 34.7 kB / 3.318 GB, free: 44.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.666e-05/7.003, allocations: 25.7 kB / 3.318 GB, free: 44.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/7.005, allocations: 0.7976 MB / 3.318 GB, free: 44 MB / 442.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.004122/7.009, allocations: 4.44 MB / 3.323 GB, free: 40.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/7.011, allocations: 0.7128 MB / 3.323 GB, free: 39.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/7.011, allocations: 241.2 kB / 3.324 GB, free: 39.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4451/7.456, allocations: 83.17 MB / 3.405 GB, free: 57.81 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/7.456, allocations: 37.78 kB / 3.405 GB, free: 57.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 2.154e-06/7.456, allocations: 1.531 kB / 3.405 GB, free: 57.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=52): time 0.005308/7.462, allocations: 1.825 MB / 3.407 GB, free: 57.44 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/7.462, allocations: 109.7 kB / 3.407 GB, free: 57.32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005666/7.462, allocations: 423.9 kB / 3.407 GB, free: 57.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/7.462, allocations: 38.23 kB / 3.407 GB, free: 57.16 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/7.462, allocations: 334 kB / 3.408 GB, free: 57.01 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/7.463, allocations: 178.1 kB / 3.408 GB, free: 56.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/7.463, allocations: 11.66 kB / 3.408 GB, free: 56.93 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.748e-05/7.463, allocations: 367.4 kB / 3.408 GB, free: 56.61 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/7.463, allocations: 201.2 kB / 3.408 GB, free: 56.61 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/7.463, allocations: 393.5 kB / 3.409 GB, free: 56.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/7.464, allocations: 243.6 kB / 3.409 GB, free: 56.39 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/7.464, allocations: 1.281 kB / 3.409 GB, free: 56.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001584/7.465, allocations: 0.8266 MB / 3.41 GB, free: 56.31 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004348/7.466, allocations: 2.181 MB / 3.412 GB, free: 54.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/7.466, allocations: 5.25 kB / 3.412 GB, free: 54.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001737/7.468, allocations: 377 kB / 3.412 GB, free: 54.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005423/7.468, allocations: 143.6 kB / 3.412 GB, free: 54.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009642/7.469, allocations: 0.8732 MB / 3.413 GB, free: 53.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008012/7.47, allocations: 89.73 kB / 3.413 GB, free: 53.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-05/7.47, allocations: 36.11 kB / 3.413 GB, free: 53.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/7.47, allocations: 5.547 kB / 3.413 GB, free: 53.5 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001865/7.472, allocations: 0.7789 MB / 3.414 GB, free: 53.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/7.472, allocations: 9.672 kB / 3.414 GB, free: 53.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/7.473, allocations: 279.4 kB / 3.414 GB, free: 53.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/7.474, allocations: 146.6 kB / 3.415 GB, free: 53.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007616/7.474, allocations: 0.8275 MB / 3.415 GB, free: 52.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007051/7.475, allocations: 92.91 kB / 3.415 GB, free: 52.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.328e-05/7.475, allocations: 40.23 kB / 3.415 GB, free: 52.93 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.0002249/7.475, allocations: 143.1 kB / 3.416 GB, free: 52.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/7.476, allocations: 64.02 kB / 3.416 GB, free: 52.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002885/7.478, allocations: 2.839 MB / 3.418 GB, free: 52.52 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-05/7.478, allocations: 43.36 kB / 3.419 GB, free: 52.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/7.478, allocations: 0 / 3.419 GB, free: 52.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/7.478, allocations: 6.766 kB / 3.419 GB, free: 52.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/7.482, allocations: 3.96 MB / 3.422 GB, free: 52.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/7.482, allocations: 0 / 3.422 GB, free: 52.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006654/7.483, allocations: 173 kB / 3.423 GB, free: 52.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002773/7.483, allocations: 65.7 kB / 3.423 GB, free: 52.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/7.483, allocations: 26.44 kB / 3.423 GB, free: 52.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004504/7.484, allocations: 1.175 MB / 3.424 GB, free: 50.98 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/7.484, allocations: 2.812 kB / 3.424 GB, free: 50.98 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/7.486, allocations: 2.361 MB / 3.426 GB, free: 50.71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004609/7.486, allocations: 315.8 kB / 3.426 GB, free: 50.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.759e-05/7.487, allocations: 19.27 kB / 3.426 GB, free: 50.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004867/7.487, allocations: 69.64 kB / 3.426 GB, free: 50.54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/7.487, allocations: 52.06 kB / 3.427 GB, free: 50.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/7.487, allocations: 30.06 kB / 3.427 GB, free: 50.54 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004028/7.488, allocations: 385.3 kB / 3.427 GB, free: 50.44 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/7.488, allocations: 0 / 3.427 GB, free: 50.44 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006001/7.494, allocations: 1.378 MB / 3.428 GB, free: 50.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: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.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 (67): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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.009082/7.503, allocations: 1.725 MB / 3.43 GB, free: 50.21 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002339/7.505, allocations: 1.296 MB / 3.431 GB, free: 50.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/7.505, allocations: 0 / 3.431 GB, free: 50.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009775/7.506, allocations: 0.8041 MB / 3.432 GB, free: 50.18 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/7.508, allocations: 290.2 kB / 3.432 GB, free: 50.18 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1328/7.64, allocations: 75.84 MB / 3.506 GB, free: 43.37 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006082/7.641, allocations: 1.168 MB / 3.507 GB, free: 42.35 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001244/7.642, allocations: 0.6624 MB / 3.508 GB, free: 41.96 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/7.643, allocations: 58.92 kB / 3.508 GB, free: 41.91 MB / 458.7 MB Notification: Performance of SimCode: time 8.52e-07/7.643, allocations: 0 / 3.508 GB, free: 41.91 MB / 458.7 MB Notification: Performance of Templates: time 0.05767/7.7, allocations: 45.27 MB / 3.552 GB, free: 10.63 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)