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/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 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 110.6 kB / 16.37 MB, free: 6.012 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.001105/0.001105, allocations: 190.1 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7985/0.7985, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 71.88 kB / 0.5068 GB, free: 7.633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3928, allocations: 80.91 MB / 0.5858 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5357/0.9285, allocations: 194 MB / 0.7752 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008933/0.9375, allocations: 6.933 MB / 0.782 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.9391, allocations: 44.84 kB / 0.782 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.9408, allocations: 0.6846 MB / 0.7827 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005476/0.9462, allocations: 2.333 MB / 0.785 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003204/0.9495, allocations: 1.426 MB / 0.7864 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00398/0.9535, allocations: 2.995 MB / 0.7893 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00139/0.9549, allocations: 0.8805 MB / 0.7901 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00255/0.9574, allocations: 1.151 MB / 0.7913 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001575/0.959, allocations: 0.7984 MB / 0.792 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002358/0.9593, allocations: 98.44 kB / 0.7921 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00418/0.9635, allocations: 2.065 MB / 0.7942 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004033/0.9639, allocations: 361.9 kB / 0.7945 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007145/0.9646, allocations: 0.5904 MB / 0.7951 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003934/0.9685, allocations: 2.416 MB / 0.7974 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.9686, allocations: 0.9688 kB / 0.7974 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9686, allocations: 0 / 0.7974 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.232e-05/0.9686, allocations: 0.8438 kB / 0.7974 GB, free: 1.051 MB / 0.5762 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.003498/0.9721, allocations: 1.63 MB / 0.799 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.9721, allocations: 11.92 kB / 0.799 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002873/0.975, allocations: 0.5388 MB / 0.7996 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/0.9773, allocations: 1.039 MB / 0.8006 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.611e-05/0.9774, allocations: 58.38 kB / 0.8006 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.9775, allocations: 68.53 kB / 0.8007 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.9797, allocations: 1.104 MB / 0.8018 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.9797, allocations: 4.188 kB / 0.8018 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.194e-05/0.9798, allocations: 27.66 kB / 0.8018 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-05/0.9798, allocations: 35.69 kB / 0.8018 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002703/0.9826, allocations: 1.16 MB / 0.803 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005686/0.9883, allocations: 3.167 MB / 0.8061 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.9899, allocations: 0.6813 MB / 0.8067 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007026/0.9906, allocations: 429 kB / 0.8071 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008643/0.9915, allocations: 1.028 MB / 0.8082 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009539/0.9924, allocations: 0.5111 MB / 0.8086 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.435e-06/0.9924, allocations: 0.9062 kB / 0.8087 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.002905/0.9954, allocations: 1.219 MB / 0.8098 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.877e-05/0.9955, allocations: 137.1 kB / 0.81 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/0.9973, allocations: 1.181 MB / 0.8111 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001238/0.9975, allocations: 35.39 kB / 0.8112 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/0.9978, allocations: 443.2 kB / 0.8116 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.998, allocations: 187.7 kB / 0.8118 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002832/0.9983, allocations: 147.1 kB / 0.8119 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.9984, allocations: 335.5 kB / 0.8122 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.9996, allocations: 440.4 kB / 0.8126 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/1.001, allocations: 0.5951 MB / 0.8132 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/1.003, allocations: 0.9362 MB / 0.8141 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.003, allocations: 0 / 0.8141 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00286/1.006, allocations: 1.195 MB / 0.8153 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/1.006, allocations: 39.2 kB / 0.8153 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/1.006, allocations: 6.594 kB / 0.8153 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/1.006, allocations: 6.062 kB / 0.8154 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00089/1.007, allocations: 186.8 kB / 0.8155 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/1.007, allocations: 12.36 kB / 0.8155 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/1.008, allocations: 241.7 kB / 0.8158 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.021e-05/1.008, allocations: 35.7 kB / 0.8158 GB, free: 11.79 MB / 0.5919 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.0005154/1.009, allocations: 323.4 kB / 0.8161 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/1.009, allocations: 120.2 kB / 0.8162 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/1.011, allocations: 0.9928 MB / 0.8172 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/1.011, allocations: 12.73 kB / 0.8172 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/1.011, allocations: 0 / 0.8172 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/1.011, allocations: 10.41 kB / 0.8172 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004821/1.016, allocations: 3.16 MB / 0.8203 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/1.016, allocations: 8.469 kB / 0.8203 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005808/1.016, allocations: 115.6 kB / 0.8204 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/1.016, allocations: 10.94 kB / 0.8204 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.758e-05/1.017, allocations: 29.14 kB / 0.8205 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.195e-05/1.017, allocations: 13.97 kB / 0.8205 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.017, allocations: 10.47 kB / 0.8205 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/1.019, allocations: 1.348 MB / 0.8218 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006819/1.019, allocations: 327.5 kB / 0.8221 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/1.02, allocations: 25.33 kB / 0.8221 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/1.021, allocations: 101.2 kB / 0.8222 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/1.021, allocations: 59.92 kB / 0.8223 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.033e-05/1.021, allocations: 40.88 kB / 0.8223 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001464/1.022, allocations: 0.8471 MB / 0.8232 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/1.022, allocations: 1.375 kB / 0.8232 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001177/1.024, allocations: 303 kB / 0.8234 GB, free: 8.027 MB / 0.5919 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.000706/1.024, allocations: 352.8 kB / 0.8238 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002262/1.027, allocations: 1.028 MB / 0.8248 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.027, allocations: 6.125 kB / 0.8248 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008734/1.027, allocations: 0.5104 MB / 0.8253 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/1.03, allocations: 0.5437 MB / 0.8258 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/1.034, allocations: 2.014 MB / 0.8278 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000718/1.034, allocations: 1.076 MB / 0.8288 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001068/1.035, allocations: 277.6 kB / 0.8291 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/1.036, allocations: 79.36 kB / 0.8292 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/1.036, allocations: 0 / 0.8292 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of Templates: time 0.03462/1.07, allocations: 22.01 MB / 0.8507 GB, free: 14.66 MB / 0.6231 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)