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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00469/0.00469, allocations: 173.9 kB / 7.447 MB, free: 2.508 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.376/1.376, allocations: 170.6 MB / 178.4 MB, free: 15.45 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.001699/0.001699, allocations: 112.4 kB / 217.7 MB, free: 8.227 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.1796/0.1796, allocations: 37.97 MB / 294.8 MB, free: 9.629 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.593e-06/6.633e-06, allocations: 1.656 kB / 349.5 MB, free: 37.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09533/0.09535, allocations: 48.71 MB / 398.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.915/6.011, allocations: 2.501 GB / 2.89 GB, free: 9.043 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003342/6.011, allocations: 86.58 kB / 2.89 GB, free: 8.961 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.928/7.939, allocations: 422.5 MB / 3.303 GB, free: 41.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001099/7.939, allocations: 17.19 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.009786/7.949, allocations: 1.712 MB / 3.305 GB, free: 40.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/7.949, allocations: 7.938 kB / 3.305 GB, free: 40.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003321/7.953, allocations: 337.6 kB / 3.305 GB, free: 40.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/7.954, allocations: 0.581 MB / 3.305 GB, free: 39.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-05/7.955, allocations: 23.38 kB / 3.306 GB, free: 39.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/7.955, allocations: 36.97 kB / 3.306 GB, free: 39.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001313/7.956, allocations: 0.5346 MB / 3.306 GB, free: 39.69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/7.957, allocations: 0.6652 MB / 3.307 GB, free: 39.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/7.957, allocations: 0 / 3.307 GB, free: 39.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.704e-05/7.957, allocations: 3.938 kB / 3.307 GB, free: 39.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.844e-05/7.958, allocations: 18.06 kB / 3.307 GB, free: 39.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009447/7.967, allocations: 5.974 MB / 3.313 GB, free: 34.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/7.968, allocations: 314.8 kB / 3.313 GB, free: 34.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/7.968, allocations: 216.9 kB / 3.313 GB, free: 34.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4762/8.444, allocations: 82 MB / 3.393 GB, free: 109.7 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.524e-05/8.444, allocations: 33.88 kB / 3.393 GB, free: 109.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=47): time 3.146e-06/8.444, allocations: 0 / 3.393 GB, free: 109.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=51): time 0.006437/8.451, allocations: 1.817 MB / 3.395 GB, free: 109.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/8.451, allocations: 108.2 kB / 3.395 GB, free: 109.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005462/8.451, allocations: 385.7 kB / 3.395 GB, free: 109.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.334e-05/8.452, allocations: 25.7 kB / 3.395 GB, free: 109.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/8.452, allocations: 280.8 kB / 3.396 GB, free: 108.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/8.452, allocations: 165 kB / 3.396 GB, free: 108.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/8.452, allocations: 0.9375 kB / 3.396 GB, free: 108.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/8.452, allocations: 377.4 kB / 3.396 GB, free: 108.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/8.452, allocations: 212.8 kB / 3.396 GB, free: 108.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003964/8.453, allocations: 401.5 kB / 3.397 GB, free: 108.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/8.454, allocations: 353.1 kB / 3.397 GB, free: 108.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/8.454, allocations: 2.875 kB / 3.397 GB, free: 108.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002995/8.457, allocations: 1.124 MB / 3.398 GB, free: 108.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005313/8.457, allocations: 2.18 MB / 3.4 GB, free: 106 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/8.458, allocations: 7.906 kB / 3.4 GB, free: 106 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/8.459, allocations: 294.5 kB / 3.401 GB, free: 106 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005139/8.459, allocations: 146.7 kB / 3.401 GB, free: 106 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/8.461, allocations: 1.019 MB / 3.402 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008343/8.462, allocations: 91.39 kB / 3.402 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-05/8.462, allocations: 35.06 kB / 3.402 GB, free: 105.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/8.462, allocations: 3.562 kB / 3.402 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001938/8.464, allocations: 0.757 MB / 3.403 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/8.464, allocations: 7.031 kB / 3.403 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/8.465, allocations: 273.3 kB / 3.403 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/8.465, allocations: 148.2 kB / 3.403 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/8.466, allocations: 0.9174 MB / 3.404 GB, free: 104.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007205/8.467, allocations: 82.27 kB / 3.404 GB, free: 104.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.91e-05/8.467, allocations: 34.97 kB / 3.404 GB, free: 104.9 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.0002179/8.467, allocations: 124.3 kB / 3.404 GB, free: 104.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008429/8.468, allocations: 276.2 kB / 3.404 GB, free: 104.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003844/8.472, allocations: 2.577 MB / 3.407 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.845e-05/8.472, allocations: 31.77 kB / 3.407 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/8.472, allocations: 0 / 3.407 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/8.472, allocations: 8.828 kB / 3.407 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004894/8.477, allocations: 3.423 MB / 3.41 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/8.477, allocations: 3.516 kB / 3.41 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007211/8.478, allocations: 157.2 kB / 3.411 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002446/8.478, allocations: 68.52 kB / 3.411 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.183e-05/8.478, allocations: 14.06 kB / 3.411 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006146/8.479, allocations: 1.213 MB / 3.412 GB, free: 103 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/8.479, allocations: 0 / 3.412 GB, free: 103 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003577/8.482, allocations: 2.683 MB / 3.414 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004513/8.483, allocations: 254.8 kB / 3.415 GB, free: 102.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/8.483, allocations: 6.375 kB / 3.415 GB, free: 102.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005753/8.484, allocations: 70.97 kB / 3.415 GB, free: 102.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/8.484, allocations: 55.33 kB / 3.415 GB, free: 102.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.246e-05/8.484, allocations: 24.34 kB / 3.415 GB, free: 102.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0004092/8.484, allocations: 321.3 kB / 3.415 GB, free: 102.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007059/8.491, allocations: 1.343 MB / 3.416 GB, free: 102.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 19 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.009768/8.501, allocations: 1.877 MB / 3.418 GB, free: 102.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002797/8.504, allocations: 1.569 MB / 3.42 GB, free: 102.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.483e-06/8.504, allocations: 3.281 kB / 3.42 GB, free: 102.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/8.505, allocations: 1.103 MB / 3.421 GB, free: 102.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/8.507, allocations: 267.2 kB / 3.421 GB, free: 102.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03679/8.544, allocations: 14.79 MB / 3.436 GB, free: 101.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007101/8.544, allocations: 1.161 MB / 3.437 GB, free: 101.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.453e-06/8.544, allocations: 0 / 3.437 GB, free: 101.2 MB / 458.7 MB Notification: Performance of Templates: time 0.06384/8.608, allocations: 44.65 MB / 3.48 GB, free: 99.12 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)