Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001107/0.001107, allocations: 189.7 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4563/0.4563, allocations: 90.85 MB / 99.08 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 221.4 MB / 342.7 MB, free: 5.125 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009864/0.0009864, allocations: 100.9 kB / 415.5 MB, free: 6.402 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.166e-06/8.206e-06, allocations: 0 / 493.9 MB, free: 8.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3647, allocations: 72.31 MB / 0.5529 GB, free: 73.44 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.168/4.532, allocations: 2.107 GB / 2.66 GB, free: 198.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/4.533, allocations: 84.64 kB / 2.66 GB, free: 198.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.015/6.548, allocations: 0.6574 GB / 3.318 GB, free: 7.488 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001713/6.548, allocations: 39.91 kB / 3.318 GB, free: 7.449 MB / 0.6198 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.006024/6.554, allocations: 1.505 MB / 3.319 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/6.554, allocations: 8.031 kB / 3.319 GB, free: 5.879 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003523/6.558, allocations: 0.5916 MB / 3.32 GB, free: 5.285 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3474/6.905, allocations: 13.19 MB / 3.333 GB, free: 150 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001316/6.906, allocations: 315.8 kB / 3.333 GB, free: 150 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000375/6.907, allocations: 43.28 kB / 3.333 GB, free: 150 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001866/6.909, allocations: 0.7365 MB / 3.334 GB, free: 150 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/6.91, allocations: 0.8988 MB / 3.335 GB, free: 149.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/6.91, allocations: 0 / 3.335 GB, free: 149.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.891e-05/6.91, allocations: 4.328 kB / 3.335 GB, free: 149.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.335e-05/6.91, allocations: 38.28 kB / 3.335 GB, free: 149.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006882/6.917, allocations: 3.172 MB / 3.338 GB, free: 149 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009651/6.918, allocations: 0.5407 MB / 3.338 GB, free: 149 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004893/6.919, allocations: 358.6 kB / 3.339 GB, free: 149 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009087/6.92, allocations: 1.031 MB / 3.34 GB, free: 147.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006377/6.92, allocations: 474 kB / 3.34 GB, free: 147.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=57): time 3.627e-06/6.92, allocations: 2.188 kB / 3.34 GB, free: 147.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57): time 0.00201/6.922, allocations: 0.7733 MB / 3.341 GB, free: 147.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/6.923, allocations: 139.4 kB / 3.341 GB, free: 147.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008616/6.923, allocations: 0.6473 MB / 3.342 GB, free: 147.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.177e-05/6.923, allocations: 29.33 kB / 3.342 GB, free: 147.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/6.924, allocations: 326.8 kB / 3.342 GB, free: 147.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/6.924, allocations: 186.3 kB / 3.342 GB, free: 147.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/6.924, allocations: 0 / 3.342 GB, free: 147.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.66e-05/6.924, allocations: 328.1 kB / 3.343 GB, free: 146.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004339/6.924, allocations: 314 kB / 3.343 GB, free: 146.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00059/6.925, allocations: 0.5039 MB / 3.343 GB, free: 146.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008375/6.926, allocations: 410.7 kB / 3.344 GB, free: 146.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/6.926, allocations: 3.562 kB / 3.344 GB, free: 146.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001554/6.927, allocations: 0.9005 MB / 3.345 GB, free: 146.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/6.927, allocations: 9.125 kB / 3.345 GB, free: 146.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/6.928, allocations: 10.03 kB / 3.345 GB, free: 146.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/6.928, allocations: 3.688 kB / 3.345 GB, free: 146.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/6.929, allocations: 228.3 kB / 3.345 GB, free: 146.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/6.929, allocations: 10.25 kB / 3.345 GB, free: 146.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/6.93, allocations: 286.4 kB / 3.345 GB, free: 146.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/6.93, allocations: 48.27 kB / 3.345 GB, free: 146.5 MB / 0.6198 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.000204/6.93, allocations: 156.4 kB / 3.345 GB, free: 146.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/6.931, allocations: 90.16 kB / 3.345 GB, free: 146.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/6.932, allocations: 0.8397 MB / 3.346 GB, free: 146.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/6.932, allocations: 3.75 kB / 3.346 GB, free: 146.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/6.932, allocations: 3.281 kB / 3.346 GB, free: 146.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/6.932, allocations: 3.938 kB / 3.346 GB, free: 146.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003875/6.936, allocations: 2.98 MB / 3.349 GB, free: 145.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/6.936, allocations: 6.938 kB / 3.349 GB, free: 145.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006444/6.937, allocations: 125.7 kB / 3.349 GB, free: 145.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/6.937, allocations: 11.66 kB / 3.349 GB, free: 145.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.028e-05/6.937, allocations: 21.5 kB / 3.349 GB, free: 145.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.219e-05/6.937, allocations: 21.92 kB / 3.349 GB, free: 145.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.687e-06/6.937, allocations: 9.188 kB / 3.349 GB, free: 145.6 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001499/6.938, allocations: 1.541 MB / 3.351 GB, free: 144.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004281/6.939, allocations: 317.3 kB / 3.351 GB, free: 144.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/6.939, allocations: 12.88 kB / 3.351 GB, free: 144.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/6.94, allocations: 129.3 kB / 3.351 GB, free: 144.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.765e-05/6.94, allocations: 56 kB / 3.351 GB, free: 144.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.369e-05/6.94, allocations: 42.66 kB / 3.351 GB, free: 144.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0005679/6.941, allocations: 0.5033 MB / 3.352 GB, free: 144.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001577/6.943, allocations: 415 kB / 3.352 GB, free: 144.3 MB / 0.6198 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.002207/6.945, allocations: 1.755 MB / 3.354 GB, free: 143.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001316/6.946, allocations: 0.7628 MB / 3.355 GB, free: 143.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/6.946, allocations: 3.875 kB / 3.355 GB, free: 143.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000504/6.947, allocations: 451.6 kB / 3.355 GB, free: 143.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/6.948, allocations: 332.1 kB / 3.355 GB, free: 143.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003172/6.951, allocations: 1.526 MB / 3.357 GB, free: 143.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008354/6.952, allocations: 1.177 MB / 3.358 GB, free: 142.6 MB / 0.6198 GB Notification: Performance of SimCode: time 6.71e-07/6.952, allocations: 0 / 3.358 GB, free: 142.6 MB / 0.6198 GB Notification: Performance of Templates: time 0.03915/6.991, allocations: 25.31 MB / 3.383 GB, free: 142.1 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)