Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [: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.001957/0.001957, allocations: 178.6 kB / 7.461 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6012/0.6012, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.112/1.112, allocations: 221.3 MB / 395 MB, free: 10.23 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.0008672/0.0008673, allocations: 99.59 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.024e-06/7.043e-06, allocations: 3.938 kB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1137, allocations: 82.31 MB / 0.6332 GB, free: 14.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3338/0.4475, allocations: 114.3 MB / 0.7449 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001642/0.4477, allocations: 93.88 kB / 0.745 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01768/0.4654, allocations: 7.78 MB / 0.7526 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.4654, allocations: 6.812 kB / 0.7526 GB, free: 10.38 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005389/0.466, allocations: 454.5 kB / 0.753 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.466, allocations: 8.938 kB / 0.753 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.79e-05/0.4661, allocations: 19.25 kB / 0.753 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.4665, allocations: 266.5 kB / 0.7533 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.4665, allocations: 6.094 kB / 0.7533 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.4665, allocations: 3.156 kB / 0.7533 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003437/0.4669, allocations: 174.9 kB / 0.7535 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.4671, allocations: 120.8 kB / 0.7536 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.4671, allocations: 0 / 0.7536 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.4671, allocations: 0.5 kB / 0.7536 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.4671, allocations: 2.031 kB / 0.7536 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.4674, allocations: 236.5 kB / 0.7538 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.4677, allocations: 141.3 kB / 0.7539 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.963e-05/0.4678, allocations: 62.42 kB / 0.754 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.4678, allocations: 5.547 kB / 0.754 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.468, allocations: 111.4 kB / 0.7541 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.468, allocations: 7.938 kB / 0.7541 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0003379/0.4683, allocations: 184.5 kB / 0.7543 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.4684, allocations: 79.14 kB / 0.7544 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.4686, allocations: 222.6 kB / 0.7546 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.4686, allocations: 33.03 kB / 0.7546 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.109e-05/0.4686, allocations: 90.28 kB / 0.7547 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.4687, allocations: 42.7 kB / 0.7547 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/0.4687, allocations: 0 / 0.7547 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.193e-05/0.4688, allocations: 333.1 kB / 0.7551 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.543e-05/0.4689, allocations: 57 kB / 0.7551 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.737e-05/0.469, allocations: 78.47 kB / 0.7552 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.979e-05/0.4691, allocations: 63.42 kB / 0.7552 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4691, allocations: 0 / 0.7552 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000279/0.4694, allocations: 195.2 kB / 0.7554 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.4694, allocations: 5.906 kB / 0.7554 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4694, allocations: 4.062 kB / 0.7554 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.4694, allocations: 2.031 kB / 0.7554 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.4696, allocations: 25.16 kB / 0.7555 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4696, allocations: 9.156 kB / 0.7555 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.041e-05/0.4697, allocations: 5.391 kB / 0.7555 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.4697, allocations: 12.25 kB / 0.7555 GB, free: 24.64 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.193e-05/0.4698, allocations: 108.8 kB / 0.7556 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.4698, allocations: 16.52 kB / 0.7556 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004157/0.4702, allocations: 258.8 kB / 0.7559 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.4702, allocations: 2.25 kB / 0.7559 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4702, allocations: 1.281 kB / 0.7559 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.4702, allocations: 5.406 kB / 0.7559 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.4705, allocations: 251.4 kB / 0.7561 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.4705, allocations: 0 / 0.7561 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.4706, allocations: 33.78 kB / 0.7561 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.4706, allocations: 1.031 kB / 0.7561 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.4706, allocations: 8.047 kB / 0.7561 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.4706, allocations: 1.156 kB / 0.7561 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4706, allocations: 0 / 0.7561 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003012/0.4709, allocations: 248.6 kB / 0.7564 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.471, allocations: 103 kB / 0.7565 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/0.4711, allocations: 13.19 kB / 0.7565 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.751e-05/0.4711, allocations: 4 kB / 0.7565 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.4712, allocations: 13.86 kB / 0.7565 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.4712, allocations: 14.05 kB / 0.7565 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001401/0.4714, allocations: 180.8 kB / 0.7567 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002586/0.4716, allocations: 55.33 kB / 0.7567 GB, free: 23.99 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006593/0.4723, allocations: 348.8 kB / 0.7571 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002266/0.4725, allocations: 147.5 kB / 0.7572 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4725, allocations: 0 / 0.7572 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.4727, allocations: 90.62 kB / 0.7573 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.4729, allocations: 28.64 kB / 0.7573 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000461/0.4734, allocations: 259.5 kB / 0.7576 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/0.4737, allocations: 0.7659 MB / 0.7583 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/0.4737, allocations: 0 / 0.7583 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of Templates: time 0.005049/0.4787, allocations: 2.722 MB / 0.761 GB, free: 21.55 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)