Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001562/0.001562, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7206/0.7206, allocations: 133.3 MB / 150.1 MB, free: 11.16 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.472/1.472, allocations: 222.9 MB / 404.7 MB, free: 6.008 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.0009989/0.000999, allocations: 95.7 kB / 485.9 MB, free: 7.137 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001013, allocations: 55.92 kB / 0.5636 GB, free: 69.89 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1384, allocations: 80.43 MB / 0.6421 GB, free: 5.398 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5104/0.6489, allocations: 191.6 MB / 0.8293 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.009756/0.6587, allocations: 6.99 MB / 0.8361 GB, free: 10.52 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.6599, allocations: 39.69 kB / 0.8361 GB, free: 10.48 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.6614, allocations: 0.5632 MB / 0.8367 GB, free: 9.914 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.00513/0.6666, allocations: 2.176 MB / 0.8388 GB, free: 7.73 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.6698, allocations: 1.287 MB / 0.8401 GB, free: 6.469 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004989/0.6748, allocations: 3.758 MB / 0.8438 GB, free: 2.703 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.6761, allocations: 0.7869 MB / 0.8445 GB, free: 1.906 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001725/0.6779, allocations: 0.9764 MB / 0.8455 GB, free: 0.9258 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.6795, allocations: 0.8108 MB / 0.8463 GB, free: 120 kB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.6797, allocations: 48 kB / 0.8463 GB, free: 72 kB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003916/0.6836, allocations: 2.229 MB / 0.8485 GB, free: 13.84 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000344/0.6839, allocations: 322.8 kB / 0.8488 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0005683/0.6845, allocations: 0.5284 MB / 0.8493 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003202/0.6877, allocations: 2.423 MB / 0.8517 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.6877, allocations: 0 / 0.8517 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6878, allocations: 3.938 kB / 0.8517 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.529e-05/0.6878, allocations: 0 / 0.8517 GB, free: 10.55 MB / 0.5886 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.003613/0.6914, allocations: 1.629 MB / 0.8533 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.6914, allocations: 19.95 kB / 0.8533 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002849/0.6943, allocations: 0.5254 MB / 0.8538 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.6964, allocations: 0.9908 MB / 0.8548 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001184/0.6976, allocations: 273.1 kB / 0.855 GB, free: 7.02 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.6977, allocations: 72 kB / 0.8551 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/0.7001, allocations: 1.128 MB / 0.8562 GB, free: 5.789 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.7001, allocations: 4 kB / 0.8562 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.194e-05/0.7002, allocations: 27.98 kB / 0.8562 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.994e-05/0.7002, allocations: 29.31 kB / 0.8563 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003216/0.7034, allocations: 1.196 MB / 0.8574 GB, free: 4.531 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005649/0.7091, allocations: 3.215 MB / 0.8606 GB, free: 1.242 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.7108, allocations: 0.6851 MB / 0.8612 GB, free: 0.5469 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007767/0.7116, allocations: 426.1 kB / 0.8616 GB, free: 132 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008354/0.7125, allocations: 1.021 MB / 0.8626 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009776/0.7135, allocations: 0.5182 MB / 0.8631 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=57): time 2.905e-06/0.7135, allocations: 4 kB / 0.8632 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57): time 0.002965/0.7165, allocations: 1.217 MB / 0.8643 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.7165, allocations: 144.8 kB / 0.8645 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/0.7185, allocations: 1.207 MB / 0.8657 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.048e-05/0.7186, allocations: 37.7 kB / 0.8657 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003495/0.719, allocations: 433.4 kB / 0.8661 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.7191, allocations: 189.4 kB / 0.8663 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002739/0.7194, allocations: 150 kB / 0.8664 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.7195, allocations: 330 kB / 0.8667 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.7208, allocations: 456.9 kB / 0.8672 GB, free: 10.13 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.7224, allocations: 0.621 MB / 0.8678 GB, free: 9.461 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/0.7245, allocations: 0.9383 MB / 0.8687 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.7245, allocations: 3.938 kB / 0.8687 GB, free: 8.469 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003343/0.7279, allocations: 1.236 MB / 0.8699 GB, free: 7.215 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.958e-05/0.7279, allocations: 41.69 kB / 0.87 GB, free: 7.168 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.7279, allocations: 4 kB / 0.87 GB, free: 7.164 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.728, allocations: 7.938 kB / 0.87 GB, free: 7.156 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009704/0.729, allocations: 200 kB / 0.8702 GB, free: 6.961 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.028e-05/0.729, allocations: 11.92 kB / 0.8702 GB, free: 6.949 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.7307, allocations: 270.8 kB / 0.8704 GB, free: 6.684 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.402e-05/0.7308, allocations: 39.97 kB / 0.8705 GB, free: 6.645 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (67): * Single equations (assignments): 66 * 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.0004937/0.7313, allocations: 325.1 kB / 0.8708 GB, free: 6.312 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.7315, allocations: 114.6 kB / 0.8709 GB, free: 6.199 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/0.7338, allocations: 1.003 MB / 0.8719 GB, free: 5.188 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.7338, allocations: 7.938 kB / 0.8719 GB, free: 5.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.7338, allocations: 0 / 0.8719 GB, free: 5.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.7338, allocations: 7.984 kB / 0.8719 GB, free: 5.172 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00497/0.7388, allocations: 3.156 MB / 0.875 GB, free: 1.863 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/0.7388, allocations: 8 kB / 0.875 GB, free: 1.855 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005938/0.7394, allocations: 124 kB / 0.8751 GB, free: 1.734 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/0.7395, allocations: 8 kB / 0.8751 GB, free: 1.727 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.305e-05/0.7395, allocations: 27.98 kB / 0.8751 GB, free: 1.699 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.167e-05/0.7395, allocations: 11.94 kB / 0.8751 GB, free: 1.688 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/0.7396, allocations: 11.94 kB / 0.8751 GB, free: 1.676 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004017/0.7436, allocations: 2.579 MB / 0.8777 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006766/0.7443, allocations: 327.4 kB / 0.878 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.7445, allocations: 31.92 kB / 0.878 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.7458, allocations: 115.9 kB / 0.8781 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.7459, allocations: 47.83 kB / 0.8782 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.7461, allocations: 43.97 kB / 0.8782 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00176/0.7478, allocations: 0.8794 MB / 0.8791 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7478, allocations: 3.938 kB / 0.8791 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001318/0.7492, allocations: 299.8 kB / 0.8793 GB, free: 13.18 MB / 0.6198 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 (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.000789/0.75, allocations: 348.5 kB / 0.8797 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002679/0.7527, allocations: 1.025 MB / 0.8807 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/0.7527, allocations: 4.125 kB / 0.8807 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.7537, allocations: 0.5124 MB / 0.8812 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00332/0.757, allocations: 0.5233 MB / 0.8817 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004435/0.7615, allocations: 2.734 MB / 0.8844 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008022/0.7623, allocations: 1.093 MB / 0.8854 GB, free: 6.754 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001253/0.7636, allocations: 274.2 kB / 0.8857 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.7639, allocations: 79.41 kB / 0.8858 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.7639, allocations: 0 / 0.8858 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.03737/0.8013, allocations: 21.74 MB / 0.907 GB, free: 0.8555 MB / 0.6355 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)