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.007183/0.007182, allocations: 169.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7552/0.7552, allocations: 132.3 MB / 148.1 MB, free: 268 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 223.2 MB / 403.2 MB, free: 6.738 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.0009793/0.0009794, allocations: 94.73 kB / 485.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004386, allocations: 8 kB / 0.5641 GB, free: 2.129 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5141/0.5146, allocations: 81.57 MB / 0.6437 GB, free: 39.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.224/5.738, allocations: 2.118 GB / 2.761 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/5.739, allocations: 96.53 kB / 2.761 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.881/7.62, allocations: 0.6612 GB / 3.423 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.573e-06/7.62, allocations: 0 / 3.423 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.013e-05/7.62, allocations: 39.98 kB / 3.423 GB, free: 10.79 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.004423/7.625, allocations: 1.649 MB / 3.424 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/7.625, allocations: 8.031 kB / 3.424 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002748/7.628, allocations: 0.5333 MB / 3.425 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02455/7.652, allocations: 13.23 MB / 3.438 GB, free: 11.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001182/7.653, allocations: 317.2 kB / 3.438 GB, free: 10.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/7.653, allocations: 68 kB / 3.438 GB, free: 10.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/7.656, allocations: 1.167 MB / 3.439 GB, free: 9.547 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/7.656, allocations: 0 / 3.439 GB, free: 9.547 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.415e-05/7.656, allocations: 24 kB / 3.439 GB, free: 9.523 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-05/7.656, allocations: 41.28 kB / 3.439 GB, free: 9.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002947/7.659, allocations: 1.164 MB / 3.44 GB, free: 8.312 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0068/7.666, allocations: 3.316 MB / 3.444 GB, free: 4.922 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/7.668, allocations: 0.6886 MB / 3.444 GB, free: 4.227 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009515/7.669, allocations: 1.037 MB / 3.445 GB, free: 2.969 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/7.67, allocations: 0.5299 MB / 3.446 GB, free: 2.406 MB / 0.698 GB Notification: Performance of pre-optimization done (n=57): time 4.348e-06/7.67, allocations: 4 kB / 3.446 GB, free: 2.402 MB / 0.698 GB Notification: Performance of matching and sorting (n=57): time 0.003379/7.673, allocations: 1.374 MB / 3.447 GB, free: 1.004 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.776e-05/7.673, allocations: 136.9 kB / 3.447 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.329/8.002, allocations: 1.081 MB / 3.448 GB, free: 120.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002887/8.002, allocations: 40.39 kB / 3.448 GB, free: 120.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000538/8.003, allocations: 439.2 kB / 3.449 GB, free: 120 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/8.003, allocations: 191.2 kB / 3.449 GB, free: 120 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.407e-05/8.003, allocations: 13.31 kB / 3.449 GB, free: 120 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.309e-05/8.003, allocations: 333 kB / 3.449 GB, free: 119.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/8.005, allocations: 0.4889 MB / 3.45 GB, free: 119.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/8.007, allocations: 0.7022 MB / 3.45 GB, free: 119.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/8.008, allocations: 0.5547 MB / 3.451 GB, free: 119.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/8.008, allocations: 1.156 kB / 3.451 GB, free: 119.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003686/8.012, allocations: 1.324 MB / 3.452 GB, free: 119.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.489e-05/8.012, allocations: 43.27 kB / 3.452 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/8.012, allocations: 2.812 kB / 3.452 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/8.012, allocations: 6.781 kB / 3.452 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/8.013, allocations: 218 kB / 3.453 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/8.013, allocations: 13.8 kB / 3.453 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/8.015, allocations: 307.9 kB / 3.453 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/8.016, allocations: 47.38 kB / 3.453 GB, free: 119.3 MB / 0.698 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 () * Number of clocked 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.0006337/8.016, allocations: 329.9 kB / 3.453 GB, free: 119.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/8.017, allocations: 121.4 kB / 3.453 GB, free: 119.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002216/8.019, allocations: 1.056 MB / 3.454 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/8.019, allocations: 7.062 kB / 3.454 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/8.019, allocations: 2.078 kB / 3.454 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/8.019, allocations: 4.359 kB / 3.454 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005297/8.024, allocations: 3.26 MB / 3.458 GB, free: 118.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/8.024, allocations: 9.812 kB / 3.458 GB, free: 118.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006622/8.025, allocations: 131.5 kB / 3.458 GB, free: 118.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/8.025, allocations: 14.77 kB / 3.458 GB, free: 118.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-05/8.025, allocations: 32.95 kB / 3.458 GB, free: 118.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.121e-05/8.025, allocations: 19.94 kB / 3.458 GB, free: 118.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/8.025, allocations: 8.844 kB / 3.458 GB, free: 118.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/8.027, allocations: 1.799 MB / 3.46 GB, free: 117.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006138/8.028, allocations: 340.2 kB / 3.46 GB, free: 117 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/8.028, allocations: 18.25 kB / 3.46 GB, free: 117 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/8.029, allocations: 128 kB / 3.46 GB, free: 117 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.908e-05/8.029, allocations: 61.52 kB / 3.46 GB, free: 117 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.287e-05/8.029, allocations: 45.33 kB / 3.46 GB, free: 117 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001401/8.031, allocations: 0.8812 MB / 3.461 GB, free: 116.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.242e-06/8.031, allocations: 0 / 3.461 GB, free: 116.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001621/8.032, allocations: 439.1 kB / 3.461 GB, free: 116.9 MB / 0.698 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) * Number of clocked states: 0 () * 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.0022/8.035, allocations: 1.586 MB / 3.463 GB, free: 116.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002343/8.037, allocations: 1.073 MB / 3.464 GB, free: 116.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/8.037, allocations: 0 / 3.464 GB, free: 116.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008754/8.038, allocations: 0.5331 MB / 3.464 GB, free: 116.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/8.04, allocations: 0.5279 MB / 3.465 GB, free: 116.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/8.044, allocations: 2.257 MB / 3.467 GB, free: 115.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/8.044, allocations: 1.092 MB / 3.468 GB, free: 114.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001198/8.045, allocations: 291.1 kB / 3.469 GB, free: 114.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/8.046, allocations: 83.69 kB / 3.469 GB, free: 114.6 MB / 0.698 GB Notification: Performance of SimCode: time 6.92e-07/8.046, allocations: 0 / 3.469 GB, free: 114.6 MB / 0.698 GB Notification: Performance of Templates: time 0.04984/8.095, allocations: 37.1 MB / 3.505 GB, free: 113.6 MB / 0.698 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)