Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [: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.002354/0.002354, allocations: 177.2 kB / 7.461 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.605/0.605, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.176/1.176, allocations: 221.3 MB / 395 MB, free: 10.25 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.0009206/0.0009205, allocations: 98.97 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.093e-06/7.203e-06, allocations: 2.969 kB / 0.5528 GB, free: 89.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1367, allocations: 82.3 MB / 0.6332 GB, free: 14.15 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.185/3.321, allocations: 2.117 GB / 2.75 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001664/3.322, allocations: 79.95 kB / 2.75 GB, free: 125 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.72/5.042, allocations: 0.6594 GB / 3.41 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.204e-05/5.042, allocations: 32.73 kB / 3.41 GB, free: 108.1 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00388/5.046, allocations: 1.498 MB / 3.411 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/5.046, allocations: 7.312 kB / 3.411 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002635/5.048, allocations: 0.5929 MB / 3.412 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02531/5.074, allocations: 13.21 MB / 3.425 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001081/5.075, allocations: 318.1 kB / 3.425 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001943/5.075, allocations: 39.12 kB / 3.425 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001148/5.076, allocations: 0.7351 MB / 3.426 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/5.077, allocations: 0.9051 MB / 3.427 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/5.077, allocations: 5.688 kB / 3.427 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.869e-05/5.077, allocations: 0 / 3.427 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/5.078, allocations: 34.78 kB / 3.427 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005255/5.083, allocations: 3.157 MB / 3.43 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007458/5.084, allocations: 0.547 MB / 3.43 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003795/5.084, allocations: 360.9 kB / 3.431 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006222/5.085, allocations: 1.032 MB / 3.432 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005035/5.085, allocations: 473.8 kB / 3.432 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=57): time 2.144e-06/5.085, allocations: 3.781 kB / 3.432 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57): time 0.001585/5.087, allocations: 0.7673 MB / 3.433 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/5.087, allocations: 136.7 kB / 3.433 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006594/5.087, allocations: 0.6496 MB / 3.434 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.666e-05/5.087, allocations: 29.02 kB / 3.434 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/5.088, allocations: 327.5 kB / 3.434 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/5.088, allocations: 188.4 kB / 3.434 GB, free: 104 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/5.088, allocations: 0 / 3.434 GB, free: 104 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.717e-05/5.088, allocations: 330.1 kB / 3.434 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003847/5.088, allocations: 306.4 kB / 3.435 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004883/5.089, allocations: 0.5033 MB / 3.435 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007259/5.089, allocations: 412.9 kB / 3.436 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/5.089, allocations: 0 / 3.436 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001406/5.091, allocations: 0.8991 MB / 3.436 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/5.091, allocations: 6.188 kB / 3.436 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/5.091, allocations: 6.562 kB / 3.436 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/5.091, allocations: 3.75 kB / 3.436 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009722/5.092, allocations: 231.6 kB / 3.437 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/5.092, allocations: 11.72 kB / 3.437 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/5.093, allocations: 286.2 kB / 3.437 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.603e-05/5.093, allocations: 46.59 kB / 3.437 GB, free: 103.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (67): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001611/5.094, allocations: 159.4 kB / 3.437 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/5.094, allocations: 90.5 kB / 3.437 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/5.095, allocations: 0.8394 MB / 3.438 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/5.095, allocations: 3.844 kB / 3.438 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/5.095, allocations: 3.938 kB / 3.438 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/5.095, allocations: 3.516 kB / 3.438 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/5.098, allocations: 2.969 MB / 3.441 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/5.098, allocations: 7.094 kB / 3.441 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006162/5.099, allocations: 128.3 kB / 3.441 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.888e-06/5.099, allocations: 14.34 kB / 3.441 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.329e-05/5.099, allocations: 22.05 kB / 3.441 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.894e-06/5.099, allocations: 19.66 kB / 3.441 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/5.099, allocations: 8.281 kB / 3.441 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001268/5.1, allocations: 1.528 MB / 3.443 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003705/5.101, allocations: 318.7 kB / 3.443 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/5.101, allocations: 21.09 kB / 3.443 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/5.102, allocations: 128.4 kB / 3.443 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/5.102, allocations: 47.89 kB / 3.443 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.228e-05/5.102, allocations: 45.92 kB / 3.443 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004701/5.103, allocations: 0.5003 MB / 3.444 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001093/5.104, allocations: 418.1 kB / 3.444 GB, free: 101.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.001763/5.106, allocations: 1.755 MB / 3.446 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008979/5.107, allocations: 0.7663 MB / 3.447 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/5.107, allocations: 7.719 kB / 3.447 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004467/5.107, allocations: 444.7 kB / 3.447 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/5.108, allocations: 340.9 kB / 3.447 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/5.111, allocations: 1.532 MB / 3.449 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007144/5.112, allocations: 1.18 MB / 3.45 GB, free: 99.38 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/5.112, allocations: 0 / 3.45 GB, free: 99.38 MB / 0.6823 GB Notification: Performance of Templates: time 0.0307/5.142, allocations: 25.33 MB / 3.475 GB, free: 98.79 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)