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.3217/0.3217, allocations: 54.42 MB / 61.89 MB, free: 13.75 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.001155/0.001155, allocations: 191.6 kB / 75.61 MB, free: 0.7656 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.49/1.49, allocations: 194.3 MB / 283.5 MB, free: 14.85 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001693/0.001693, allocations: 111 kB / 341.6 MB, free: 4.027 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.595e-05/1.597e-05, allocations: 4 kB / 405.5 MB, free: 4.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.343, allocations: 57.65 MB / 463.1 MB, free: 51.66 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.952/6.295, allocations: 2.366 GB / 2.818 GB, free: 179.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/6.295, allocations: 81.2 kB / 2.818 GB, free: 179.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.394/8.689, allocations: 0.6193 GB / 3.438 GB, free: 70.09 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.585e-06/8.689, allocations: 0 / 3.438 GB, free: 70.09 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001511/8.69, allocations: 38.52 kB / 3.438 GB, free: 70.09 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.006581/8.696, allocations: 1.616 MB / 3.439 GB, free: 69.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.377e-05/8.696, allocations: 12.38 kB / 3.439 GB, free: 69.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003604/8.7, allocations: 0.5533 MB / 3.44 GB, free: 69.28 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03891/8.739, allocations: 12.44 MB / 3.452 GB, free: 68.56 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002273/8.741, allocations: 318.7 kB / 3.452 GB, free: 68.55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006269/8.742, allocations: 62.42 kB / 3.452 GB, free: 68.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004234/8.746, allocations: 1.054 MB / 3.453 GB, free: 68.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004404/8.751, allocations: 1.358 MB / 3.455 GB, free: 68.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.788e-05/8.751, allocations: 6.625 kB / 3.455 GB, free: 68.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002424/8.751, allocations: 7.406 kB / 3.455 GB, free: 68.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/8.751, allocations: 47.28 kB / 3.455 GB, free: 68.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01638/8.767, allocations: 6.107 MB / 3.461 GB, free: 65.12 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/8.769, allocations: 0.5291 MB / 3.461 GB, free: 65.08 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007801/8.77, allocations: 291.6 kB / 3.461 GB, free: 65.06 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.471e-05/8.77, allocations: 14.36 kB / 3.461 GB, free: 65.06 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001499/8.771, allocations: 0.6716 MB / 3.462 GB, free: 64.73 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=50): time 7.063e-06/8.771, allocations: 2.5 kB / 3.462 GB, free: 64.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=50): time 0.002726/8.774, allocations: 0.6644 MB / 3.463 GB, free: 64.65 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004433/8.775, allocations: 0.9561 MB / 3.464 GB, free: 63.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00291/8.778, allocations: 0.8087 MB / 3.464 GB, free: 63.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002154/8.778, allocations: 28.83 kB / 3.464 GB, free: 63.31 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001215/8.779, allocations: 0.6777 MB / 3.465 GB, free: 62.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000333/8.779, allocations: 170.6 kB / 3.465 GB, free: 62.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/8.78, allocations: 0 / 3.465 GB, free: 62.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001488/8.78, allocations: 341.5 kB / 3.466 GB, free: 62.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/8.781, allocations: 351.6 kB / 3.466 GB, free: 62.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/8.783, allocations: 0.8789 MB / 3.467 GB, free: 61.99 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/8.784, allocations: 472.5 kB / 3.467 GB, free: 61.99 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-05/8.784, allocations: 2.906 kB / 3.467 GB, free: 61.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003651/8.788, allocations: 1.083 MB / 3.468 GB, free: 61.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.437e-05/8.788, allocations: 41.47 kB / 3.468 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/8.788, allocations: 11.06 kB / 3.468 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.006e-05/8.788, allocations: 18.5 kB / 3.468 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0024/8.79, allocations: 289.2 kB / 3.469 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.861e-05/8.79, allocations: 25.77 kB / 3.469 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004229/8.795, allocations: 309.9 kB / 3.469 GB, free: 61.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/8.795, allocations: 53.34 kB / 3.469 GB, free: 61.82 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.0005332/8.795, allocations: 181.2 kB / 3.469 GB, free: 61.67 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000466/8.796, allocations: 113.8 kB / 3.469 GB, free: 61.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005299/8.796, allocations: 109.5 kB / 3.469 GB, free: 61.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/8.797, allocations: 3.875 kB / 3.469 GB, free: 61.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.177e-05/8.797, allocations: 3.281 kB / 3.469 GB, free: 61.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/8.797, allocations: 11.03 kB / 3.469 GB, free: 61.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00698/8.804, allocations: 3.019 MB / 3.472 GB, free: 60.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/8.804, allocations: 3.688 kB / 3.472 GB, free: 60.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/8.805, allocations: 125.7 kB / 3.473 GB, free: 60.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.047e-05/8.805, allocations: 10.28 kB / 3.473 GB, free: 60.63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-05/8.805, allocations: 19.77 kB / 3.473 GB, free: 60.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-05/8.805, allocations: 12.62 kB / 3.473 GB, free: 60.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-05/8.805, allocations: 10.25 kB / 3.473 GB, free: 60.63 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002424/8.807, allocations: 1.353 MB / 3.474 GB, free: 59.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009882/8.808, allocations: 336.7 kB / 3.474 GB, free: 59.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003122/8.809, allocations: 18.7 kB / 3.474 GB, free: 59.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002405/8.811, allocations: 125.1 kB / 3.474 GB, free: 59.58 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/8.811, allocations: 49.77 kB / 3.474 GB, free: 59.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/8.811, allocations: 40.34 kB / 3.474 GB, free: 59.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001311/8.813, allocations: 0.5947 MB / 3.475 GB, free: 59.46 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.31e-07/8.813, allocations: 0 / 3.475 GB, free: 59.46 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002987/8.816, allocations: 487.4 kB / 3.476 GB, free: 59.41 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.003845/8.82, allocations: 1.684 MB / 3.477 GB, free: 58.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002555/8.822, allocations: 0.8869 MB / 3.478 GB, free: 58.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/8.822, allocations: 3.031 kB / 3.478 GB, free: 58.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007488/8.823, allocations: 412.9 kB / 3.478 GB, free: 58.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00428/8.827, allocations: 419.2 kB / 3.479 GB, free: 58.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005607/8.833, allocations: 1.585 MB / 3.48 GB, free: 58.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/8.834, allocations: 1.188 MB / 3.482 GB, free: 57.48 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003439/8.838, allocations: 283.7 kB / 3.482 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004774/8.838, allocations: 87.16 kB / 3.482 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of SimCode: time 2.124e-06/8.838, allocations: 0 / 3.482 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of Templates: time 0.05482/8.893, allocations: 26.97 MB / 3.508 GB, free: 55.57 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)