Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.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.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation") [: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.001989/0.001989, allocations: 179.8 kB / 7.464 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5937/0.5937, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.137/1.137, allocations: 221.3 MB / 395 MB, free: 10.27 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.0008474/0.0008474, allocations: 97.98 kB / 477.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.522e-06/6.542e-06, allocations: 2.844 kB / 0.5528 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1225, allocations: 82.3 MB / 0.6332 GB, free: 14.15 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7364/0.859, allocations: 362.3 MB / 0.9871 GB, free: 263.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.8592, allocations: 83.31 kB / 0.9871 GB, free: 263.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.4305/1.29, allocations: 258.6 MB / 1.24 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.965e-05/1.29, allocations: 23.98 kB / 1.24 GB, free: 10.58 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001208/1.291, allocations: 0.9206 MB / 1.241 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/1.291, allocations: 8.031 kB / 1.241 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007243/1.292, allocations: 195 kB / 1.241 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2097/1.502, allocations: 12.06 MB / 1.253 GB, free: 232 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003003/1.502, allocations: 89.95 kB / 1.253 GB, free: 232 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.876e-05/1.502, allocations: 21.59 kB / 1.253 GB, free: 232 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004578/1.502, allocations: 296.8 kB / 1.253 GB, free: 232 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005094/1.503, allocations: 410.4 kB / 1.253 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/1.503, allocations: 3.75 kB / 1.253 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/1.503, allocations: 3.656 kB / 1.253 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/1.503, allocations: 17.56 kB / 1.253 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002323/1.505, allocations: 2.226 MB / 1.256 GB, free: 230.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/1.506, allocations: 266.1 kB / 1.256 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/1.506, allocations: 175.3 kB / 1.256 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001973/1.506, allocations: 340.6 kB / 1.256 GB, free: 230.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/1.506, allocations: 251.2 kB / 1.257 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.064e-06/1.506, allocations: 0 / 1.257 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.0008507/1.507, allocations: 433.5 kB / 1.257 GB, free: 230 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/1.507, allocations: 81.08 kB / 1.257 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/1.508, allocations: 377.1 kB / 1.257 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/1.508, allocations: 25.7 kB / 1.257 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.456e-05/1.508, allocations: 212.9 kB / 1.258 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.296e-05/1.508, allocations: 105 kB / 1.258 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.853e-05/1.508, allocations: 3.125 kB / 1.258 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.342e-05/1.508, allocations: 359.5 kB / 1.258 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/1.508, allocations: 122.7 kB / 1.258 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/1.508, allocations: 216.2 kB / 1.258 GB, free: 229.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/1.509, allocations: 170.1 kB / 1.259 GB, free: 229.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.509, allocations: 0 / 1.259 GB, free: 229.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007497/1.509, allocations: 483.2 kB / 1.259 GB, free: 229.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.36e-05/1.509, allocations: 0.6065 MB / 1.26 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.509, allocations: 7.25 kB / 1.26 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001624/1.51, allocations: 47.44 kB / 1.26 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/1.51, allocations: 89.08 kB / 1.26 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003304/1.51, allocations: 0.6086 MB / 1.26 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005047/1.511, allocations: 74 kB / 1.26 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/1.511, allocations: 14.06 kB / 1.26 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.23e-06/1.511, allocations: 14.28 kB / 1.26 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006359/1.512, allocations: 372.3 kB / 1.261 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/1.512, allocations: 3.938 kB / 1.261 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001305/1.512, allocations: 48.28 kB / 1.261 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/1.512, allocations: 85.03 kB / 1.261 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009534/1.513, allocations: 1.5 MB / 1.262 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004612/1.513, allocations: 72.81 kB / 1.262 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/1.514, allocations: 20.45 kB / 1.262 GB, free: 226.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001411/1.514, allocations: 145.5 kB / 1.263 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.563e-05/1.514, allocations: 55.84 kB / 1.263 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000819/1.515, allocations: 0.4917 MB / 1.263 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/1.515, allocations: 6.938 kB / 1.263 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/1.515, allocations: 0 / 1.263 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006371/1.515, allocations: 0.6491 MB / 1.264 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/1.517, allocations: 1.095 MB / 1.265 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/1.517, allocations: 3.562 kB / 1.265 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/1.517, allocations: 73.61 kB / 1.265 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-05/1.517, allocations: 42.5 kB / 1.265 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/1.517, allocations: 7.688 kB / 1.265 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002148/1.517, allocations: 0.5752 MB / 1.266 GB, free: 225.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.517, allocations: 3.438 kB / 1.266 GB, free: 225.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008992/1.518, allocations: 0.8151 MB / 1.266 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/1.518, allocations: 191.4 kB / 1.267 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.641e-05/1.519, allocations: 3.938 kB / 1.267 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005273/1.519, allocations: 64.53 kB / 1.267 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/1.519, allocations: 18.19 kB / 1.267 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-05/1.519, allocations: 25.59 kB / 1.267 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002149/1.519, allocations: 287.5 kB / 1.267 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009476/1.52, allocations: 365.5 kB / 1.267 GB, free: 224.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006068/1.521, allocations: 427.1 kB / 1.268 GB, free: 224.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008918/1.522, allocations: 0.706 MB / 1.268 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.522, allocations: 0 / 1.268 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002679/1.522, allocations: 245.3 kB / 1.269 GB, free: 224.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009968/1.523, allocations: 214.5 kB / 1.269 GB, free: 224.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/1.525, allocations: 0.768 MB / 1.27 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003535/1.525, allocations: 0.944 MB / 1.27 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/1.525, allocations: 3.156 kB / 1.27 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.01692/1.542, allocations: 12.83 MB / 1.283 GB, free: 223.3 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)