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.0008347/0.0008346, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009155/0.0009155, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8327/0.8327, allocations: 135.2 MB / 426.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002746/0.0002746, allocations: 12 kB / 0.5068 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1506, allocations: 82.31 MB / 0.5872 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.3965/0.5471, allocations: 162 MB / 0.7454 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009538/0.5567, allocations: 6.286 MB / 0.7515 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.5581, allocations: 39.69 kB / 0.7515 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.5599, allocations: 0.6599 MB / 0.7522 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00415/0.5641, allocations: 1.671 MB / 0.7538 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003622/0.5677, allocations: 1.545 MB / 0.7553 GB, free: 500 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00249/0.5702, allocations: 1.697 MB / 0.757 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009166/0.5711, allocations: 0.729 MB / 0.7577 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.5725, allocations: 0.9072 MB / 0.7586 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005818/0.5731, allocations: 0.5328 MB / 0.7591 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.368e-05/0.5732, allocations: 40 kB / 0.7591 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002224/0.5754, allocations: 1.178 MB / 0.7603 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.5757, allocations: 279.1 kB / 0.7605 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.5759, allocations: 241.1 kB / 0.7608 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.5774, allocations: 1.551 MB / 0.7623 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5774, allocations: 0 / 0.7623 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5774, allocations: 3.938 kB / 0.7623 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.5774, allocations: 0 / 0.7623 GB, free: 9.32 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.002729/0.5801, allocations: 1.38 MB / 0.7636 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.5802, allocations: 8.031 kB / 0.7637 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00274/0.5829, allocations: 0.5996 MB / 0.7642 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.5846, allocations: 0.9211 MB / 0.7651 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001105/0.5857, allocations: 321 kB / 0.7654 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.5858, allocations: 68 kB / 0.7655 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.588, allocations: 1.14 MB / 0.7666 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.588, allocations: 0 / 0.7666 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.238e-05/0.5881, allocations: 31.98 kB / 0.7667 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/0.5882, allocations: 33.31 kB / 0.7667 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002982/0.5912, allocations: 1.25 MB / 0.7679 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00544/0.5966, allocations: 3.261 MB / 0.7711 GB, free: 104 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.5982, allocations: 0.6998 MB / 0.7718 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005452/0.5988, allocations: 0.673 MB / 0.7724 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009466/0.5997, allocations: 0.5182 MB / 0.7729 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.545e-06/0.5998, allocations: 0 / 0.7729 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.002714/0.6025, allocations: 1.324 MB / 0.7742 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.464e-05/0.6026, allocations: 144.9 kB / 0.7744 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/0.6044, allocations: 1.215 MB / 0.7756 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.438e-05/0.6044, allocations: 41.7 kB / 0.7756 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/0.6048, allocations: 437.4 kB / 0.776 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.6049, allocations: 189.3 kB / 0.7762 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.605, allocations: 12 kB / 0.7762 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.6051, allocations: 333.9 kB / 0.7765 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.6063, allocations: 484.9 kB / 0.777 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.6077, allocations: 0.6367 MB / 0.7776 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.6089, allocations: 0.5307 MB / 0.7781 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6089, allocations: 0 / 0.7781 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002899/0.6118, allocations: 1.287 MB / 0.7794 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.6119, allocations: 37.69 kB / 0.7794 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6119, allocations: 4 kB / 0.7794 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.6119, allocations: 4 kB / 0.7794 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009017/0.6128, allocations: 212 kB / 0.7796 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.6128, allocations: 7.984 kB / 0.7796 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.6143, allocations: 314 kB / 0.7799 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.912e-05/0.6144, allocations: 35.97 kB / 0.78 GB, free: 6.672 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 ($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.0004669/0.6149, allocations: 331.2 kB / 0.7803 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.615, allocations: 122.5 kB / 0.7804 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/0.6169, allocations: 1.009 MB / 0.7814 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.6169, allocations: 8 kB / 0.7814 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6169, allocations: 0 / 0.7814 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.617, allocations: 3.984 kB / 0.7814 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004297/0.6213, allocations: 3.179 MB / 0.7845 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.6213, allocations: 4 kB / 0.7845 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005453/0.6218, allocations: 128 kB / 0.7846 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/0.6219, allocations: 12 kB / 0.7846 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.705e-05/0.6219, allocations: 23.98 kB / 0.7847 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/0.6219, allocations: 15.94 kB / 0.7847 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.6219, allocations: 11.94 kB / 0.7847 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.624, allocations: 1.743 MB / 0.7864 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004853/0.6245, allocations: 327.9 kB / 0.7867 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.6247, allocations: 31.98 kB / 0.7867 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.6257, allocations: 131.8 kB / 0.7869 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.6259, allocations: 59.84 kB / 0.7869 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.857e-05/0.6259, allocations: 39.97 kB / 0.787 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001417/0.6274, allocations: 0.8872 MB / 0.7878 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6274, allocations: 0 / 0.7878 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009798/0.6283, allocations: 299.9 kB / 0.7881 GB, free: 13.86 MB / 0.6075 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.0006189/0.629, allocations: 373 kB / 0.7885 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002214/0.6312, allocations: 1.045 MB / 0.7895 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.6312, allocations: 0 / 0.7895 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008425/0.6321, allocations: 0.5215 MB / 0.79 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/0.6344, allocations: 0.5158 MB / 0.7905 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.6376, allocations: 2.291 MB / 0.7927 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000584/0.6382, allocations: 1.085 MB / 0.7938 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009793/0.6392, allocations: 274.9 kB / 0.7941 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.6394, allocations: 87.41 kB / 0.7941 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.6394, allocations: 0 / 0.7941 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of Templates: time 0.02972/0.6692, allocations: 20.86 MB / 0.8145 GB, free: 2.914 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: