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.001361/0.001361, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7681/0.7681, allocations: 130.7 MB / 138.7 MB, free: 3.469 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.815/1.815, allocations: 221.5 MB / 391.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001149, allocations: 91.67 kB / 473.9 MB, free: 4.465 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.724e-05/2.75e-05, allocations: 8 kB / 0.5485 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5971/0.5971, allocations: 81.56 MB / 0.6282 GB, free: 42.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.409/7.006, allocations: 2.117 GB / 2.745 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/7.007, allocations: 84.5 kB / 2.745 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.341/9.347, allocations: 0.6535 GB / 3.399 GB, free: 52.69 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.124e-06/9.347, allocations: 0 / 3.399 GB, free: 52.69 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001747/9.348, allocations: 39.59 kB / 3.399 GB, free: 52.66 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.005459/9.353, allocations: 1.482 MB / 3.4 GB, free: 51.12 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/9.353, allocations: 12.02 kB / 3.4 GB, free: 51.11 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003046/9.356, allocations: 0.5332 MB / 3.401 GB, free: 50.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02682/9.383, allocations: 13.13 MB / 3.413 GB, free: 37.26 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001163/9.384, allocations: 293.1 kB / 3.414 GB, free: 36.97 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004087/9.385, allocations: 40 kB / 3.414 GB, free: 36.93 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00165/9.386, allocations: 0.7257 MB / 3.414 GB, free: 36.21 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/9.388, allocations: 0.8871 MB / 3.415 GB, free: 35.28 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/9.388, allocations: 0 / 3.415 GB, free: 35.28 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/9.388, allocations: 7.938 kB / 3.415 GB, free: 35.27 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.304e-05/9.388, allocations: 29.3 kB / 3.415 GB, free: 35.25 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006756/9.395, allocations: 3.103 MB / 3.418 GB, free: 32.08 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008832/9.396, allocations: 0.5552 MB / 3.419 GB, free: 31.52 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004292/9.397, allocations: 352.4 kB / 3.419 GB, free: 31.17 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008016/9.397, allocations: 1.029 MB / 3.42 GB, free: 29.92 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006248/9.398, allocations: 473.8 kB / 3.421 GB, free: 29.44 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=57): time 5.991e-06/9.398, allocations: 4 kB / 3.421 GB, free: 29.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57): time 0.001991/9.4, allocations: 0.7792 MB / 3.421 GB, free: 28.65 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/9.4, allocations: 140.8 kB / 3.422 GB, free: 28.48 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009384/9.401, allocations: 0.6568 MB / 3.422 GB, free: 27.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/9.401, allocations: 29.7 kB / 3.422 GB, free: 27.78 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003267/9.401, allocations: 452.2 kB / 3.423 GB, free: 27.33 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/9.402, allocations: 185.2 kB / 3.423 GB, free: 27.15 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/9.402, allocations: 0 / 3.423 GB, free: 27.15 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.883e-05/9.402, allocations: 334 kB / 3.423 GB, free: 26.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004145/9.402, allocations: 297.2 kB / 3.423 GB, free: 26.53 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005315/9.403, allocations: 0.4958 MB / 3.424 GB, free: 25.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008067/9.404, allocations: 404.4 kB / 3.424 GB, free: 25.56 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/9.404, allocations: 4 kB / 3.424 GB, free: 25.56 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001728/9.405, allocations: 0.9128 MB / 3.425 GB, free: 24.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/9.405, allocations: 39.42 kB / 3.425 GB, free: 24.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/9.405, allocations: 3.953 kB / 3.425 GB, free: 24.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/9.405, allocations: 8 kB / 3.425 GB, free: 24.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009773/9.406, allocations: 224.1 kB / 3.426 GB, free: 24.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/9.406, allocations: 11.98 kB / 3.426 GB, free: 24.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/9.408, allocations: 259.3 kB / 3.426 GB, free: 24.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/9.408, allocations: 47.97 kB / 3.426 GB, free: 24.05 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.0002472/9.408, allocations: 158.7 kB / 3.426 GB, free: 23.88 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/9.409, allocations: 94.88 kB / 3.426 GB, free: 23.79 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/9.41, allocations: 0.8513 MB / 3.427 GB, free: 22.93 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/9.41, allocations: 11.95 kB / 3.427 GB, free: 22.92 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/9.41, allocations: 0 / 3.427 GB, free: 22.92 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/9.41, allocations: 3.984 kB / 3.427 GB, free: 22.91 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004037/9.414, allocations: 2.954 MB / 3.43 GB, free: 19.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/9.414, allocations: 8.969 kB / 3.43 GB, free: 19.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000585/9.415, allocations: 123.8 kB / 3.43 GB, free: 19.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.438e-05/9.415, allocations: 15.94 kB / 3.43 GB, free: 19.68 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.665e-05/9.415, allocations: 19.98 kB / 3.43 GB, free: 19.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.337e-06/9.415, allocations: 15.98 kB / 3.43 GB, free: 19.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/9.415, allocations: 11.94 kB / 3.43 GB, free: 19.63 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/9.417, allocations: 1.571 MB / 3.432 GB, free: 17.76 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004858/9.417, allocations: 299.7 kB / 3.432 GB, free: 17.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/9.417, allocations: 19.98 kB / 3.432 GB, free: 17.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/9.419, allocations: 123.9 kB / 3.432 GB, free: 17.31 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.918e-05/9.419, allocations: 63.73 kB / 3.432 GB, free: 17.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-05/9.419, allocations: 39.97 kB / 3.432 GB, free: 17.21 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000604/9.419, allocations: 0.4991 MB / 3.433 GB, free: 16.71 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.5e-07/9.419, allocations: 0 / 3.433 GB, free: 16.71 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001701/9.421, allocations: 411.3 kB / 3.433 GB, free: 16.31 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.002606/9.424, allocations: 1.753 MB / 3.435 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001203/9.425, allocations: 0.7937 MB / 3.435 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/9.425, allocations: 4 kB / 3.435 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005341/9.426, allocations: 464.9 kB / 3.436 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/9.428, allocations: 349.1 kB / 3.436 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/9.431, allocations: 1.483 MB / 3.438 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/9.431, allocations: 1.088 MB / 3.439 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001175/9.432, allocations: 245.9 kB / 3.439 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/9.433, allocations: 75.39 kB / 3.439 GB, free: 9.824 MB / 0.6823 GB Notification: Performance of SimCode: time 9.42e-07/9.433, allocations: 4 kB / 3.439 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of Templates: time 0.5447/9.977, allocations: 23.07 MB / 3.462 GB, free: 111.3 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)