Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1") translateModel(IDEAS.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1") [: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 4.0.0+maint.om/package.mo): time 0.00243/0.00243, allocations: 182.6 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6072/0.6072, allocations: 133.5 MB / 141.4 MB, free: 15.63 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.146/1.146, allocations: 221.4 MB / 395 MB, free: 10.14 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008939/0.0008939, allocations: 116.9 kB / 477.8 MB, free: 10.74 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.462e-06/6.482e-06, allocations: 3.938 kB / 0.5528 GB, free: 89.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1163, allocations: 82.31 MB / 0.6332 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7043/0.8207, allocations: 380.6 MB / 1.005 GB, free: 251.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001843/0.8209, allocations: 96.11 kB / 1.005 GB, free: 251.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.343/4.164, allocations: 1.335 GB / 2.34 GB, free: 98.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004026/4.165, allocations: 88.55 kB / 2.34 GB, free: 98.54 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.009307/4.174, allocations: 3.415 MB / 2.344 GB, free: 97.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/4.174, allocations: 7 kB / 2.344 GB, free: 97.44 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002598/4.177, allocations: 0.5604 MB / 2.344 GB, free: 97.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/4.187, allocations: 4.371 MB / 2.348 GB, free: 96.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.953e-05/4.187, allocations: 53 kB / 2.348 GB, free: 96.65 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003286/4.187, allocations: 117.4 kB / 2.349 GB, free: 96.65 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002356/4.189, allocations: 1.632 MB / 2.35 GB, free: 96.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/4.192, allocations: 1.841 MB / 2.352 GB, free: 96.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.877e-05/4.192, allocations: 8.281 kB / 2.352 GB, free: 96.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/4.192, allocations: 6.906 kB / 2.352 GB, free: 96.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/4.192, allocations: 40.94 kB / 2.352 GB, free: 96.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01033/4.202, allocations: 11.53 MB / 2.363 GB, free: 89.87 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/4.204, allocations: 1.212 MB / 2.364 GB, free: 89.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008868/4.205, allocations: 0.9104 MB / 2.365 GB, free: 89.81 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00412/4.209, allocations: 3.362 MB / 2.369 GB, free: 88.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007121/4.209, allocations: 0.6519 MB / 2.369 GB, free: 88.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=98): time 2.285e-06/4.209, allocations: 0 / 2.369 GB, free: 88.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=98): time 0.003505/4.213, allocations: 2.025 MB / 2.371 GB, free: 87.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/4.213, allocations: 63.31 kB / 2.371 GB, free: 87.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/4.215, allocations: 2.247 MB / 2.373 GB, free: 87.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.118e-05/4.215, allocations: 33.52 kB / 2.374 GB, free: 87.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/4.216, allocations: 0.8389 MB / 2.374 GB, free: 87.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/4.216, allocations: 335.9 kB / 2.375 GB, free: 86.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/4.216, allocations: 0 / 2.375 GB, free: 86.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.83e-05/4.216, allocations: 358.5 kB / 2.375 GB, free: 86.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006499/4.217, allocations: 0.5511 MB / 2.376 GB, free: 86.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008539/4.218, allocations: 1.291 MB / 2.377 GB, free: 85.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/4.219, allocations: 0.8597 MB / 2.378 GB, free: 85.63 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/4.219, allocations: 7.156 kB / 2.378 GB, free: 85.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003913/4.223, allocations: 2.468 MB / 2.38 GB, free: 85.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007506/4.224, allocations: 5.91 MB / 2.386 GB, free: 79.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/4.224, allocations: 15.59 kB / 2.386 GB, free: 79.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000808/4.225, allocations: 445.9 kB / 2.386 GB, free: 79.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/4.226, allocations: 290.8 kB / 2.387 GB, free: 79.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/4.227, allocations: 2.068 MB / 2.389 GB, free: 78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/4.229, allocations: 223.2 kB / 2.389 GB, free: 77.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/4.229, allocations: 84.78 kB / 2.389 GB, free: 77.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.162e-06/4.229, allocations: 3.938 kB / 2.389 GB, free: 77.93 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003148/4.233, allocations: 2.063 MB / 2.391 GB, free: 77.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/4.233, allocations: 13.25 kB / 2.391 GB, free: 77.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007525/4.233, allocations: 414 kB / 2.391 GB, free: 77.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009913/4.234, allocations: 280.1 kB / 2.392 GB, free: 77.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004665/4.239, allocations: 5.38 MB / 2.397 GB, free: 75.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/4.241, allocations: 187.8 kB / 2.397 GB, free: 75.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/4.241, allocations: 74.42 kB / 2.397 GB, free: 75.04 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * 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 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002467/4.241, allocations: 168.5 kB / 2.397 GB, free: 74.92 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/4.241, allocations: 279 kB / 2.397 GB, free: 74.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003895/4.245, allocations: 2.339 MB / 2.4 GB, free: 74.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/4.245, allocations: 16.06 kB / 2.4 GB, free: 74.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/4.245, allocations: 0 / 2.4 GB, free: 74.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002395/4.248, allocations: 1.897 MB / 2.402 GB, free: 74.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005387/4.253, allocations: 3.937 MB / 2.405 GB, free: 73.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/4.253, allocations: 0 / 2.405 GB, free: 73.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007918/4.254, allocations: 182.7 kB / 2.406 GB, free: 73.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006913/4.255, allocations: 388.6 kB / 2.406 GB, free: 73.65 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.452e-05/4.255, allocations: 25.12 kB / 2.406 GB, free: 73.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/4.256, allocations: 1.911 MB / 2.408 GB, free: 72.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/4.256, allocations: 5.203 kB / 2.408 GB, free: 72.59 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003468/4.259, allocations: 2.904 MB / 2.411 GB, free: 72.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007688/4.26, allocations: 0.4883 MB / 2.411 GB, free: 71.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003945/4.26, allocations: 7.188 kB / 2.411 GB, free: 71.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/4.262, allocations: 125.8 kB / 2.411 GB, free: 71.83 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/4.262, allocations: 77.89 kB / 2.411 GB, free: 71.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.689e-05/4.262, allocations: 47.73 kB / 2.411 GB, free: 71.83 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001752/4.264, allocations: 1.714 MB / 2.413 GB, free: 71.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003297/4.267, allocations: 1.368 MB / 2.414 GB, free: 71.52 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.001421/4.268, allocations: 1.037 MB / 2.416 GB, free: 71.26 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003321/4.272, allocations: 2.724 MB / 2.418 GB, free: 70.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/4.272, allocations: 0 / 2.418 GB, free: 70.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008303/4.273, allocations: 0.6858 MB / 2.419 GB, free: 70.92 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003505/4.276, allocations: 1.009 MB / 2.42 GB, free: 70.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006052/4.282, allocations: 4.07 MB / 2.424 GB, free: 69.97 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001638/4.284, allocations: 2.342 MB / 2.426 GB, free: 69.23 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/4.284, allocations: 0 / 2.426 GB, free: 69.23 MB / 0.698 GB Notification: Performance of Templates: time 0.08259/4.366, allocations: 58.8 MB / 2.484 GB, free: 65.62 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1)