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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3001/0.3001, allocations: 55.01 MB / 69.96 MB, free: 8.668 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.001226/0.001226, allocations: 194.5 kB / 83.98 MB, free: 10.84 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.645/1.645, allocations: 194.4 MB / 292.3 MB, free: 3.625 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.001852/0.001852, allocations: 117.9 kB / 350.7 MB, free: 9.117 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003987, allocations: 8 kB / 418.9 MB, free: 37.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1494, allocations: 57.66 MB / 476.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.784/5.934, allocations: 2.367 GB / 2.832 GB, free: 3.922 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/5.934, allocations: 83.95 kB / 2.832 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.732/8.666, allocations: 0.627 GB / 3.459 GB, free: 71.33 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.693e-06/8.666, allocations: 3.172 kB / 3.459 GB, free: 71.33 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001102/8.667, allocations: 38.44 kB / 3.459 GB, free: 71.32 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.005452/8.672, allocations: 1.781 MB / 3.461 GB, free: 70.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/8.672, allocations: 7 kB / 3.461 GB, free: 70.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002941/8.675, allocations: 0.5453 MB / 3.461 GB, free: 70.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02572/8.701, allocations: 12.57 MB / 3.474 GB, free: 69.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00117/8.702, allocations: 347.6 kB / 3.474 GB, free: 69.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003248/8.702, allocations: 104.5 kB / 3.474 GB, free: 69.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003733/8.706, allocations: 1.723 MB / 3.476 GB, free: 69.38 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/8.706, allocations: 2.625 kB / 3.476 GB, free: 69.38 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/8.706, allocations: 57.08 kB / 3.476 GB, free: 69.38 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6e-05/8.706, allocations: 51.72 kB / 3.476 GB, free: 69.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003653/8.71, allocations: 1.59 MB / 3.477 GB, free: 69.37 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009994/8.72, allocations: 6.454 MB / 3.484 GB, free: 66.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/8.722, allocations: 0.6633 MB / 3.484 GB, free: 66.12 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.052e-05/8.722, allocations: 10.39 kB / 3.484 GB, free: 66.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001547/8.724, allocations: 0.7486 MB / 3.485 GB, free: 65.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=51): time 7.293e-06/8.724, allocations: 2.125 kB / 3.485 GB, free: 65.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51): time 0.003173/8.727, allocations: 1.231 MB / 3.486 GB, free: 65.56 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004181/8.727, allocations: 0.9803 MB / 3.487 GB, free: 64.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002738/8.73, allocations: 1.447 MB / 3.489 GB, free: 64.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001463/8.73, allocations: 39.27 kB / 3.489 GB, free: 64.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005695/8.731, allocations: 0.6521 MB / 3.489 GB, free: 63.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/8.731, allocations: 177.8 kB / 3.49 GB, free: 63.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.586e-05/8.731, allocations: 20.72 kB / 3.49 GB, free: 63.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.982e-05/8.731, allocations: 334.6 kB / 3.49 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/8.732, allocations: 0.5282 MB / 3.49 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/8.734, allocations: 1.06 MB / 3.491 GB, free: 62.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/8.735, allocations: 0.646 MB / 3.492 GB, free: 62.94 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/8.735, allocations: 6.062 kB / 3.492 GB, free: 62.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003541/8.739, allocations: 1.547 MB / 3.494 GB, free: 62.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.543e-05/8.739, allocations: 44.22 kB / 3.494 GB, free: 62.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/8.739, allocations: 13.66 kB / 3.494 GB, free: 62.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.114e-05/8.739, allocations: 14.75 kB / 3.494 GB, free: 62.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/8.74, allocations: 282.4 kB / 3.494 GB, free: 62.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.135e-05/8.74, allocations: 22.56 kB / 3.494 GB, free: 62.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002541/8.743, allocations: 382.5 kB / 3.494 GB, free: 62.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/8.743, allocations: 52.92 kB / 3.494 GB, free: 62.68 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 () * Number of clocked 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.0009147/8.744, allocations: 421.7 kB / 3.495 GB, free: 62.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002628/8.744, allocations: 158.5 kB / 3.495 GB, free: 62.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/8.745, allocations: 147.2 kB / 3.495 GB, free: 62.42 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/8.745, allocations: 6.062 kB / 3.495 GB, free: 62.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/8.745, allocations: 8.578 kB / 3.495 GB, free: 62.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/8.745, allocations: 0 / 3.495 GB, free: 62.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00436/8.749, allocations: 3.418 MB / 3.498 GB, free: 61.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/8.749, allocations: 6.844 kB / 3.498 GB, free: 61.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005662/8.75, allocations: 111.2 kB / 3.499 GB, free: 61.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/8.75, allocations: 8.719 kB / 3.499 GB, free: 61.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.539e-05/8.75, allocations: 24.22 kB / 3.499 GB, free: 61.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/8.75, allocations: 17.97 kB / 3.499 GB, free: 61.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.849e-06/8.75, allocations: 13.03 kB / 3.499 GB, free: 61.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/8.752, allocations: 1.613 MB / 3.5 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007901/8.753, allocations: 395.8 kB / 3.501 GB, free: 60.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/8.753, allocations: 32.42 kB / 3.501 GB, free: 60.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/8.754, allocations: 136.2 kB / 3.501 GB, free: 60.03 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/8.754, allocations: 52.11 kB / 3.501 GB, free: 60.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.065e-05/8.754, allocations: 36.39 kB / 3.501 GB, free: 60.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00189/8.756, allocations: 1.138 MB / 3.502 GB, free: 59.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/8.756, allocations: 0 / 3.502 GB, free: 59.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002016/8.758, allocations: 0.4988 MB / 3.502 GB, free: 59.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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.002602/8.761, allocations: 1.519 MB / 3.504 GB, free: 59.44 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002645/8.764, allocations: 1.147 MB / 3.505 GB, free: 59.37 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/8.764, allocations: 2.812 kB / 3.505 GB, free: 59.37 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007762/8.764, allocations: 476.1 kB / 3.505 GB, free: 59.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003601/8.768, allocations: 0.7618 MB / 3.506 GB, free: 59.28 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004252/8.772, allocations: 2.548 MB / 3.509 GB, free: 58.08 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000734/8.773, allocations: 1.187 MB / 3.51 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001855/8.775, allocations: 338.5 kB / 3.51 GB, free: 57.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/8.775, allocations: 102.8 kB / 3.51 GB, free: 57.35 MB / 0.5105 GB Notification: Performance of SimCode: time 4.238e-06/8.775, allocations: 0 / 3.51 GB, free: 57.35 MB / 0.5105 GB Notification: Performance of Templates: time 0.07016/8.845, allocations: 44.96 MB / 3.554 GB, free: 45.5 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)