Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2772/0.2772, allocations: 54.39 MB / 61.67 MB, free: 11.15 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001135/0.001135, allocations: 184.6 kB / 75.37 MB, free: 1.473 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.395/1.395, allocations: 194.2 MB / 283.2 MB, free: 3.488 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001751/0.001751, allocations: 127.1 kB / 341.3 MB, free: 9.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.925e-06/7.955e-06, allocations: 0 / 404.9 MB, free: 27.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1441, allocations: 57.65 MB / 462.6 MB, free: 1.961 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.525/5.669, allocations: 2.366 GB / 2.818 GB, free: 33.51 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/5.669, allocations: 83.95 kB / 2.818 GB, free: 33.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.579/8.248, allocations: 0.6253 GB / 3.443 GB, free: 70.11 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001289/8.248, allocations: 41.73 kB / 3.443 GB, free: 70.11 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.004999/8.253, allocations: 1.627 MB / 3.445 GB, free: 69.55 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/8.253, allocations: 10.34 kB / 3.445 GB, free: 69.55 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002865/8.256, allocations: 0.5997 MB / 3.445 GB, free: 69.48 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02723/8.283, allocations: 12.51 MB / 3.457 GB, free: 68.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001443/8.285, allocations: 337.3 kB / 3.458 GB, free: 68.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007203/8.286, allocations: 64.91 kB / 3.458 GB, free: 68.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003907/8.29, allocations: 1.064 MB / 3.459 GB, free: 68.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004085/8.294, allocations: 1.376 MB / 3.46 GB, free: 68.45 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.772e-05/8.294, allocations: 7.25 kB / 3.46 GB, free: 68.45 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003705/8.294, allocations: 5.938 kB / 3.46 GB, free: 68.45 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.992e-05/8.294, allocations: 54.53 kB / 3.46 GB, free: 68.44 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/8.306, allocations: 6.174 MB / 3.466 GB, free: 65.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008919/8.306, allocations: 0.5196 MB / 3.467 GB, free: 65.31 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004412/8.307, allocations: 301.9 kB / 3.467 GB, free: 65.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.191e-05/8.307, allocations: 12.39 kB / 3.467 GB, free: 65.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008623/8.308, allocations: 0.6798 MB / 3.468 GB, free: 64.97 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=50): time 6.422e-06/8.308, allocations: 0 / 3.468 GB, free: 64.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=50): time 0.001608/8.31, allocations: 0.6876 MB / 3.468 GB, free: 64.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002834/8.31, allocations: 0.9498 MB / 3.469 GB, free: 63.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/8.311, allocations: 0.8045 MB / 3.47 GB, free: 63.58 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001523/8.311, allocations: 28.8 kB / 3.47 GB, free: 63.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005644/8.312, allocations: 0.5408 MB / 3.471 GB, free: 63.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/8.312, allocations: 170.5 kB / 3.471 GB, free: 63.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/8.312, allocations: 5.812 kB / 3.471 GB, free: 63.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.845e-05/8.312, allocations: 342.6 kB / 3.471 GB, free: 62.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005646/8.313, allocations: 359 kB / 3.472 GB, free: 62.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000956/8.314, allocations: 0.8802 MB / 3.472 GB, free: 62.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008749/8.315, allocations: 494 kB / 3.473 GB, free: 62.31 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/8.315, allocations: 3.812 kB / 3.473 GB, free: 62.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002201/8.317, allocations: 1.092 MB / 3.474 GB, free: 62.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/8.317, allocations: 2.875 kB / 3.474 GB, free: 62.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/8.317, allocations: 12.09 kB / 3.474 GB, free: 62.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.348e-05/8.317, allocations: 20.81 kB / 3.474 GB, free: 62.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/8.319, allocations: 288.4 kB / 3.474 GB, free: 62.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-05/8.319, allocations: 27.56 kB / 3.474 GB, free: 62.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/8.321, allocations: 345.7 kB / 3.475 GB, free: 62.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/8.321, allocations: 53.11 kB / 3.475 GB, free: 62.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (104): * Single equations (assignments): 103 * 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.0003916/8.322, allocations: 171.5 kB / 3.475 GB, free: 62.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003921/8.322, allocations: 107.8 kB / 3.475 GB, free: 61.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003847/8.322, allocations: 107.4 kB / 3.475 GB, free: 61.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/8.322, allocations: 9.781 kB / 3.475 GB, free: 61.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/8.323, allocations: 9.625 kB / 3.475 GB, free: 61.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/8.323, allocations: 7.797 kB / 3.475 GB, free: 61.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004623/8.327, allocations: 3.069 MB / 3.478 GB, free: 61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/8.327, allocations: 6.969 kB / 3.478 GB, free: 61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006808/8.328, allocations: 120.5 kB / 3.478 GB, free: 61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.732e-05/8.328, allocations: 14.92 kB / 3.478 GB, free: 61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.394e-05/8.328, allocations: 20.28 kB / 3.478 GB, free: 61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/8.328, allocations: 11.16 kB / 3.478 GB, free: 61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/8.328, allocations: 9.969 kB / 3.478 GB, free: 61 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001698/8.33, allocations: 1.338 MB / 3.48 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008463/8.331, allocations: 345 kB / 3.48 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004027/8.331, allocations: 24.11 kB / 3.48 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/8.333, allocations: 134.1 kB / 3.48 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/8.333, allocations: 51.81 kB / 3.48 GB, free: 59.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-05/8.333, allocations: 39.05 kB / 3.48 GB, free: 59.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001069/8.334, allocations: 0.5953 MB / 3.481 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002477/8.336, allocations: 494.6 kB / 3.481 GB, free: 59.79 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (44): * Single equations (assignments): 43 * 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 Backend phase and start with SimCode phase: time 0.003471/8.34, allocations: 1.689 MB / 3.483 GB, free: 59.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001847/8.342, allocations: 0.8592 MB / 3.484 GB, free: 59.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/8.342, allocations: 3.938 kB / 3.484 GB, free: 59.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005945/8.342, allocations: 391 kB / 3.484 GB, free: 59.28 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/8.345, allocations: 410.2 kB / 3.484 GB, free: 59.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004533/8.349, allocations: 1.624 MB / 3.486 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001788/8.351, allocations: 1.299 MB / 3.487 GB, free: 57.95 MB / 0.5105 GB Notification: Performance of SimCode: time 1.012e-06/8.351, allocations: 0 / 3.487 GB, free: 57.95 MB / 0.5105 GB Notification: Performance of Templates: time 0.05376/8.405, allocations: 29.85 MB / 3.516 GB, free: 57.15 MB / 0.5105 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)