Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 174.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7029/0.7029, allocations: 130.6 MB / 143.8 MB, free: 13.58 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 221.3 MB / 396.8 MB, free: 9.207 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 103.5 kB / 479 MB, free: 10.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.006e-05/4.008e-05, allocations: 4.125 kB / 0.5551 GB, free: 86.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2417, allocations: 81.59 MB / 0.6348 GB, free: 12.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.221/6.463, allocations: 2.117 GB / 2.752 GB, free: 67.69 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/6.463, allocations: 87.58 kB / 2.752 GB, free: 67.65 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.717/9.18, allocations: 0.6601 GB / 3.412 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.283e-06/9.18, allocations: 0 / 3.412 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001109/9.18, allocations: 32.94 kB / 3.412 GB, free: 101.2 MB / 0.6823 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.004546/9.185, allocations: 1.485 MB / 3.414 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/9.185, allocations: 6.812 kB / 3.414 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003005/9.188, allocations: 0.536 MB / 3.414 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02575/9.214, allocations: 13.16 MB / 3.427 GB, free: 99.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001146/9.215, allocations: 318.5 kB / 3.428 GB, free: 99.82 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002706/9.215, allocations: 70.69 kB / 3.428 GB, free: 99.82 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/9.217, allocations: 0.9805 MB / 3.429 GB, free: 99.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/9.217, allocations: 0 / 3.429 GB, free: 99.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.019e-05/9.217, allocations: 28.12 kB / 3.429 GB, free: 99.68 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.587e-05/9.217, allocations: 40.39 kB / 3.429 GB, free: 99.67 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/9.218, allocations: 0.7917 MB / 3.429 GB, free: 99.67 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006183/9.224, allocations: 3.321 MB / 3.433 GB, free: 98.79 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009154/9.225, allocations: 0.5843 MB / 3.433 GB, free: 98.76 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004476/9.226, allocations: 369.7 kB / 3.434 GB, free: 98.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007415/9.227, allocations: 1.024 MB / 3.435 GB, free: 97.63 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006559/9.227, allocations: 493.9 kB / 3.435 GB, free: 97.52 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=57): time 3.246e-06/9.227, allocations: 0 / 3.435 GB, free: 97.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57): time 0.001801/9.229, allocations: 0.8409 MB / 3.436 GB, free: 97.39 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/9.229, allocations: 140.6 kB / 3.436 GB, free: 97.24 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/9.23, allocations: 0.9433 MB / 3.437 GB, free: 97.09 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/9.231, allocations: 41.48 kB / 3.437 GB, free: 97.06 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/9.231, allocations: 443.5 kB / 3.437 GB, free: 96.94 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/9.231, allocations: 197.8 kB / 3.438 GB, free: 96.85 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/9.231, allocations: 12.94 kB / 3.438 GB, free: 96.85 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.015e-05/9.231, allocations: 334.7 kB / 3.438 GB, free: 96.54 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004567/9.232, allocations: 308.5 kB / 3.438 GB, free: 96.54 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/9.232, allocations: 0.5146 MB / 3.439 GB, free: 96.33 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000493/9.233, allocations: 388.4 kB / 3.439 GB, free: 96.29 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/9.233, allocations: 0 / 3.439 GB, free: 96.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001451/9.234, allocations: 0.9679 MB / 3.44 GB, free: 96.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/9.234, allocations: 36.75 kB / 3.44 GB, free: 96.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/9.234, allocations: 3.938 kB / 3.44 GB, free: 96.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/9.234, allocations: 7.812 kB / 3.44 GB, free: 96.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009657/9.235, allocations: 215.9 kB / 3.44 GB, free: 96.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/9.235, allocations: 10.94 kB / 3.44 GB, free: 96.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/9.237, allocations: 312.5 kB / 3.441 GB, free: 96.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/9.237, allocations: 46.56 kB / 3.441 GB, free: 96.11 MB / 0.6823 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.0002603/9.237, allocations: 184.9 kB / 3.441 GB, free: 95.96 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/9.238, allocations: 114.7 kB / 3.441 GB, free: 95.91 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/9.239, allocations: 0.9341 MB / 3.442 GB, free: 95.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/9.239, allocations: 11.53 kB / 3.442 GB, free: 95.82 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/9.24, allocations: 0 / 3.442 GB, free: 95.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/9.24, allocations: 7.531 kB / 3.442 GB, free: 95.82 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004074/9.244, allocations: 3.135 MB / 3.445 GB, free: 95.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/9.244, allocations: 11.47 kB / 3.445 GB, free: 95.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005837/9.244, allocations: 128 kB / 3.445 GB, free: 95.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.589e-05/9.244, allocations: 15.73 kB / 3.445 GB, free: 95.07 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.546e-05/9.244, allocations: 26.45 kB / 3.445 GB, free: 95.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.188e-05/9.244, allocations: 17 kB / 3.445 GB, free: 95.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/9.244, allocations: 13.89 kB / 3.445 GB, free: 95.07 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/9.246, allocations: 1.675 MB / 3.447 GB, free: 94 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005414/9.247, allocations: 334.7 kB / 3.447 GB, free: 93.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/9.247, allocations: 30.12 kB / 3.447 GB, free: 93.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/9.248, allocations: 130 kB / 3.447 GB, free: 93.85 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-05/9.248, allocations: 54.53 kB / 3.447 GB, free: 93.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.04e-05/9.248, allocations: 47.11 kB / 3.447 GB, free: 93.84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000974/9.249, allocations: 0.7483 MB / 3.448 GB, free: 93.72 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/9.249, allocations: 0 / 3.448 GB, free: 93.72 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001854/9.251, allocations: 438.5 kB / 3.448 GB, free: 93.7 MB / 0.6823 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.002832/9.254, allocations: 1.581 MB / 3.45 GB, free: 93.28 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001548/9.255, allocations: 0.8428 MB / 3.451 GB, free: 93.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/9.255, allocations: 0 / 3.451 GB, free: 93.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006409/9.256, allocations: 485.6 kB / 3.451 GB, free: 93.14 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00297/9.259, allocations: 0.5324 MB / 3.452 GB, free: 93.12 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/9.262, allocations: 1.565 MB / 3.453 GB, free: 92.54 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000543/9.263, allocations: 1.097 MB / 3.454 GB, free: 91.84 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001328/9.264, allocations: 281.8 kB / 3.455 GB, free: 91.82 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/9.264, allocations: 83.27 kB / 3.455 GB, free: 91.82 MB / 0.6823 GB Notification: Performance of SimCode: time 2.224e-06/9.264, allocations: 0 / 3.455 GB, free: 91.82 MB / 0.6823 GB Notification: Performance of Templates: time 0.05854/9.323, allocations: 40.75 MB / 3.495 GB, free: 89.92 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)