Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.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.TestWaterPumpDefault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") [: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.004108/0.004108, allocations: 175.5 kB / 7.451 MB, free: 2.504 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.502/1.502, allocations: 170.6 MB / 178.4 MB, free: 15.27 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.001812/0.001812, allocations: 116.4 kB / 217.7 MB, free: 8.035 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.2126/0.2126, allocations: 37.97 MB / 294.8 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.483e-05/1.535e-05, allocations: 2.5 kB / 349.5 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1363, allocations: 48.71 MB / 398.2 MB, free: 5.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.365/6.501, allocations: 2.501 GB / 2.89 GB, free: 87.47 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/6.501, allocations: 82.47 kB / 2.89 GB, free: 87.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.316/7.818, allocations: 422.2 MB / 3.302 GB, free: 5.402 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.328e-05/7.818, allocations: 19.91 kB / 3.302 GB, free: 5.387 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.008116/7.826, allocations: 1.703 MB / 3.304 GB, free: 3.637 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/7.826, allocations: 12.03 kB / 3.304 GB, free: 3.625 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003084/7.829, allocations: 334.7 kB / 3.304 GB, free: 3.297 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/7.831, allocations: 0.5868 MB / 3.305 GB, free: 2.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.83e-05/7.831, allocations: 31.84 kB / 3.305 GB, free: 2.648 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/7.831, allocations: 32 kB / 3.305 GB, free: 2.617 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001075/7.832, allocations: 0.5375 MB / 3.306 GB, free: 2.078 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/7.833, allocations: 0.6507 MB / 3.306 GB, free: 1.363 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/7.833, allocations: 8 kB / 3.306 GB, free: 1.355 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.25e-05/7.833, allocations: 0 / 3.306 GB, free: 1.355 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.943e-05/7.833, allocations: 25 kB / 3.306 GB, free: 1.332 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3054/8.139, allocations: 36.92 MB / 3.342 GB, free: 37.28 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007693/8.14, allocations: 292.2 kB / 3.343 GB, free: 37.26 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00036/8.14, allocations: 204.3 kB / 3.343 GB, free: 37.25 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03517/8.175, allocations: 20.06 MB / 3.362 GB, free: 24.57 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/8.175, allocations: 38.27 kB / 3.362 GB, free: 24.53 MB / 458.7 MB Notification: Performance of pre-optimization done (n=39): time 3.036e-06/8.175, allocations: 0 / 3.362 GB, free: 24.53 MB / 458.7 MB Notification: Performance of matching and sorting (n=55): time 0.02301/8.198, allocations: 3.309 MB / 3.366 GB, free: 23.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/8.198, allocations: 113.1 kB / 3.366 GB, free: 23.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006909/8.199, allocations: 409.3 kB / 3.366 GB, free: 23.65 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.311e-05/8.199, allocations: 25.7 kB / 3.366 GB, free: 23.62 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/8.199, allocations: 302 kB / 3.366 GB, free: 23.45 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/8.2, allocations: 185.2 kB / 3.367 GB, free: 23.36 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/8.2, allocations: 3.75 kB / 3.367 GB, free: 23.36 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/8.2, allocations: 368.2 kB / 3.367 GB, free: 23.05 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/8.2, allocations: 290.3 kB / 3.367 GB, free: 23.05 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/8.201, allocations: 0.4893 MB / 3.368 GB, free: 22.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/8.202, allocations: 452.8 kB / 3.368 GB, free: 22.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/8.202, allocations: 0 / 3.368 GB, free: 22.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003515/8.206, allocations: 1.379 MB / 3.37 GB, free: 22.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004945/8.206, allocations: 2.435 MB / 3.372 GB, free: 20.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/8.206, allocations: 7.812 kB / 3.372 GB, free: 20.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002465/8.209, allocations: 0.5845 MB / 3.373 GB, free: 20.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005804/8.209, allocations: 167.1 kB / 3.373 GB, free: 20.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002667/8.212, allocations: 1.837 MB / 3.374 GB, free: 19.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/8.213, allocations: 115.6 kB / 3.375 GB, free: 19.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.9e-05/8.213, allocations: 44.52 kB / 3.375 GB, free: 19.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/8.213, allocations: 7.188 kB / 3.375 GB, free: 19.04 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00329/8.216, allocations: 1.013 MB / 3.376 GB, free: 19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/8.217, allocations: 7.75 kB / 3.376 GB, free: 19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/8.218, allocations: 369.9 kB / 3.376 GB, free: 18.97 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005542/8.219, allocations: 175.5 kB / 3.376 GB, free: 18.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/8.22, allocations: 1.557 MB / 3.378 GB, free: 17.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008364/8.221, allocations: 93.67 kB / 3.378 GB, free: 17.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-05/8.221, allocations: 41.69 kB / 3.378 GB, free: 17.9 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.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 (65): * Single equations (assignments): 63 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002854/8.222, allocations: 131.1 kB / 3.378 GB, free: 17.79 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008004/8.222, allocations: 270.5 kB / 3.378 GB, free: 17.76 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004032/8.226, allocations: 3.017 MB / 3.381 GB, free: 17.51 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/8.226, allocations: 29.06 kB / 3.381 GB, free: 17.51 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/8.226, allocations: 6.25 kB / 3.381 GB, free: 17.51 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/8.226, allocations: 3.797 kB / 3.381 GB, free: 17.51 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004853/8.231, allocations: 4.079 MB / 3.385 GB, free: 17.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/8.231, allocations: 3.438 kB / 3.385 GB, free: 17.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/8.232, allocations: 94.77 kB / 3.385 GB, free: 17.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002224/8.234, allocations: 1.045 MB / 3.386 GB, free: 17.03 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-05/8.234, allocations: 17.09 kB / 3.386 GB, free: 17.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002293/8.236, allocations: 2.249 MB / 3.388 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/8.236, allocations: 5.734 kB / 3.388 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003386/8.24, allocations: 2.506 MB / 3.391 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004612/8.24, allocations: 279 kB / 3.391 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/8.24, allocations: 5.969 kB / 3.391 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007634/8.241, allocations: 83.89 kB / 3.391 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/8.241, allocations: 55.48 kB / 3.391 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/8.241, allocations: 31.36 kB / 3.391 GB, free: 15.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0004377/8.242, allocations: 359.3 kB / 3.392 GB, free: 15.35 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006037/8.248, allocations: 1.482 MB / 3.393 GB, free: 15.35 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,2 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.008803/8.257, allocations: 1.974 MB / 3.395 GB, free: 15.13 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003397/8.26, allocations: 1.841 MB / 3.397 GB, free: 15.08 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/8.26, allocations: 0 / 3.397 GB, free: 15.08 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/8.261, allocations: 1.182 MB / 3.398 GB, free: 15.07 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/8.263, allocations: 248.5 kB / 3.398 GB, free: 15.05 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03668/8.3, allocations: 14.75 MB / 3.413 GB, free: 14.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007767/8.3, allocations: 1.148 MB / 3.414 GB, free: 13.36 MB / 458.7 MB Notification: Performance of SimCode: time 1.793e-06/8.3, allocations: 0 / 3.414 GB, free: 13.36 MB / 458.7 MB Notification: Performance of Templates: time 0.08054/8.381, allocations: 52.56 MB / 3.465 GB, free: 4.77 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1)