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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009974/0.009974, allocations: 99.86 kB / 15.73 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001824/0.001825, allocations: 195 kB / 16.67 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2833/0.2833, allocations: 54.96 MB / 324.9 MB, free: 4.848 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 83.83 kB / 456.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1597, allocations: 59.58 MB / 0.5037 GB, free: 7.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5544/0.7142, allocations: 193.9 MB / 0.693 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.7247, allocations: 5.478 MB / 0.6984 GB, free: 9.383 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001977/0.7268, allocations: 39.75 kB / 0.6984 GB, free: 9.344 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00287/0.7297, allocations: 0.9359 MB / 0.6993 GB, free: 8.402 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006235/0.7359, allocations: 1.983 MB / 0.7013 GB, free: 6.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003757/0.7397, allocations: 1.417 MB / 0.7027 GB, free: 5.012 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005696/0.7454, allocations: 3.825 MB / 0.7064 GB, free: 1.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001987/0.7474, allocations: 1.137 MB / 0.7075 GB, free: 40 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004585/0.752, allocations: 1.624 MB / 0.7091 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002722/0.7548, allocations: 1.151 MB / 0.7102 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006458/0.7554, allocations: 160 kB / 0.7104 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004043/0.7595, allocations: 1.396 MB / 0.7117 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00118/0.7607, allocations: 0.5415 MB / 0.7123 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002451/0.7631, allocations: 0.8556 MB / 0.7131 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006062/0.7692, allocations: 2.953 MB / 0.716 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7692, allocations: 0 / 0.716 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7692, allocations: 0 / 0.716 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.316e-05/0.7693, allocations: 0 / 0.716 GB, free: 7.352 MB / 0.5606 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.005628/0.775, allocations: 2.029 MB / 0.718 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.775, allocations: 8.031 kB / 0.718 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003111/0.7781, allocations: 0.5571 MB / 0.7185 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002747/0.7809, allocations: 1.148 MB / 0.7196 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.191e-05/0.781, allocations: 82.12 kB / 0.7197 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/0.7812, allocations: 104 kB / 0.7198 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003968/0.7852, allocations: 1.72 MB / 0.7215 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/0.7852, allocations: 0 / 0.7215 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/0.7854, allocations: 52 kB / 0.7215 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-05/0.7855, allocations: 53.98 kB / 0.7216 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004082/0.7896, allocations: 1.592 MB / 0.7231 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009591/0.7992, allocations: 6.108 MB / 0.7291 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.8009, allocations: 0.6483 MB / 0.7297 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007649/0.8017, allocations: 377.9 kB / 0.7301 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.072e-05/0.8018, allocations: 8.359 kB / 0.7301 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001403/0.8032, allocations: 0.7344 MB / 0.7308 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=51): time 3.858e-06/0.8032, allocations: 0 / 0.7308 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of matching and sorting (n=51): time 0.002882/0.8061, allocations: 1.2 MB / 0.732 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00047/0.8065, allocations: 0.927 MB / 0.7329 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002806/0.8094, allocations: 1.583 MB / 0.7344 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.8095, allocations: 41.7 kB / 0.7345 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006734/0.8102, allocations: 0.6502 MB / 0.7351 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/0.8104, allocations: 186.5 kB / 0.7353 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005205/0.8109, allocations: 242.4 kB / 0.7355 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.8111, allocations: 341.9 kB / 0.7359 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.8126, allocations: 0.4977 MB / 0.7363 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/0.8145, allocations: 1.019 MB / 0.7373 GB, free: 440 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002664/0.8172, allocations: 1.215 MB / 0.7385 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.198e-05/0.8173, allocations: 3.938 kB / 0.7385 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004022/0.8213, allocations: 1.519 MB / 0.74 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.997e-05/0.8214, allocations: 37.7 kB / 0.74 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.8214, allocations: 15.98 kB / 0.7401 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.283e-05/0.8215, allocations: 12 kB / 0.7401 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.8227, allocations: 259.9 kB / 0.7403 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.743e-05/0.8227, allocations: 19.94 kB / 0.7403 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/0.825, allocations: 322.6 kB / 0.7406 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.8252, allocations: 43.98 kB / 0.7407 GB, free: 12.83 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008908/0.8261, allocations: 422.4 kB / 0.7411 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000459/0.8265, allocations: 163 kB / 0.7412 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004579/0.827, allocations: 145.5 kB / 0.7414 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.827, allocations: 8 kB / 0.7414 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/0.827, allocations: 4 kB / 0.7414 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.8271, allocations: 11.92 kB / 0.7414 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005327/0.8324, allocations: 3.311 MB / 0.7446 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/0.8324, allocations: 8 kB / 0.7447 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005812/0.833, allocations: 112.2 kB / 0.7448 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.439e-05/0.833, allocations: 8 kB / 0.7448 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.644e-05/0.8331, allocations: 23.98 kB / 0.7448 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.739e-05/0.8331, allocations: 15.94 kB / 0.7448 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.394e-05/0.8332, allocations: 7.938 kB / 0.7448 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002362/0.8355, allocations: 1.223 MB / 0.746 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008938/0.8364, allocations: 395.8 kB / 0.7464 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004232/0.8369, allocations: 27.98 kB / 0.7464 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/0.8385, allocations: 119.9 kB / 0.7465 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.8386, allocations: 55.77 kB / 0.7466 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.262e-05/0.8387, allocations: 27.98 kB / 0.7466 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002242/0.8409, allocations: 1.114 MB / 0.7477 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8409, allocations: 0 / 0.7477 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001537/0.8425, allocations: 371.8 kB / 0.748 GB, free: 4.977 MB / 0.5919 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007101/0.8432, allocations: 224.7 kB / 0.7483 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002845/0.846, allocations: 1.145 MB / 0.7494 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/0.8461, allocations: 7.938 kB / 0.7494 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009158/0.847, allocations: 485.3 kB / 0.7499 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003993/0.851, allocations: 0.7927 MB / 0.7506 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2725/1.123, allocations: 2.335 MB / 0.7529 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/1.125, allocations: 1.161 MB / 0.754 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002033/1.127, allocations: 337.8 kB / 0.7544 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/1.127, allocations: 107.7 kB / 0.7545 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.523e-06/1.127, allocations: 1.375 kB / 0.7545 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.06668/1.194, allocations: 30.51 MB / 0.7843 GB, free: 198.9 MB / 0.5919 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)