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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008893/0.0008894, allocations: 100 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.0008558/0.0008558, allocations: 177.3 kB / 15.95 MB, free: 216 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.225/1.225, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8555/0.8555, allocations: 135.2 MB / 426.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002884/0.0002886, allocations: 12.88 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1434, allocations: 82.31 MB / 0.5872 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4101/0.5536, allocations: 162 MB / 0.7454 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008922/0.5626, allocations: 6.286 MB / 0.7515 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.5638, allocations: 39.69 kB / 0.7515 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00171/0.5656, allocations: 0.6617 MB / 0.7522 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004357/0.5699, allocations: 1.666 MB / 0.7538 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003759/0.5737, allocations: 1.534 MB / 0.7553 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002745/0.5765, allocations: 1.705 MB / 0.757 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.5775, allocations: 0.7329 MB / 0.7577 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.5791, allocations: 0.9033 MB / 0.7586 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006265/0.5797, allocations: 0.5251 MB / 0.7591 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.144e-05/0.5798, allocations: 40 kB / 0.7591 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.5822, allocations: 1.178 MB / 0.7603 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.5825, allocations: 287.1 kB / 0.7605 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.5828, allocations: 245.1 kB / 0.7608 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001684/0.5845, allocations: 1.547 MB / 0.7623 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.5845, allocations: 0 / 0.7623 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5845, allocations: 0 / 0.7623 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.5845, allocations: 0 / 0.7623 GB, free: 9.277 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.002699/0.5872, allocations: 1.384 MB / 0.7636 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.5872, allocations: 8.031 kB / 0.7637 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/0.59, allocations: 0.6035 MB / 0.7642 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.5916, allocations: 0.9174 MB / 0.7651 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001099/0.5927, allocations: 317 kB / 0.7654 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.5928, allocations: 68 kB / 0.7655 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.5951, allocations: 1.14 MB / 0.7666 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.5951, allocations: 0 / 0.7666 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.077e-05/0.5952, allocations: 28 kB / 0.7666 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-05/0.5952, allocations: 37.3 kB / 0.7667 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002991/0.5982, allocations: 1.246 MB / 0.7679 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005418/0.6037, allocations: 3.261 MB / 0.7711 GB, free: 64 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.6052, allocations: 0.707 MB / 0.7718 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004677/0.6057, allocations: 0.6769 MB / 0.7724 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000909/0.6066, allocations: 0.5182 MB / 0.7729 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.124e-06/0.6066, allocations: 0 / 0.7729 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.002739/0.6094, allocations: 1.32 MB / 0.7742 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.91e-05/0.6095, allocations: 140.9 kB / 0.7744 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001967/0.6114, allocations: 1.227 MB / 0.7756 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.061e-05/0.6115, allocations: 33.7 kB / 0.7756 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000378/0.6119, allocations: 445.4 kB / 0.776 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.6121, allocations: 185.3 kB / 0.7762 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.6121, allocations: 12 kB / 0.7762 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.6123, allocations: 322 kB / 0.7765 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.6135, allocations: 488.9 kB / 0.777 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.6149, allocations: 0.6406 MB / 0.7776 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.6162, allocations: 0.5307 MB / 0.7781 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6163, allocations: 0 / 0.7781 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003054/0.6193, allocations: 1.287 MB / 0.7794 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.312e-05/0.6194, allocations: 37.7 kB / 0.7794 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.6194, allocations: 4 kB / 0.7794 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.6194, allocations: 4 kB / 0.7794 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000942/0.6204, allocations: 220 kB / 0.7796 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.6204, allocations: 11.88 kB / 0.7796 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.622, allocations: 306.8 kB / 0.7799 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.804e-05/0.6221, allocations: 31.98 kB / 0.78 GB, free: 6.625 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.0005433/0.6227, allocations: 333.9 kB / 0.7803 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/0.6229, allocations: 122.5 kB / 0.7804 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002041/0.625, allocations: 1.008 MB / 0.7814 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.625, allocations: 12.03 kB / 0.7814 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.625, allocations: 0 / 0.7814 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.625, allocations: 3.984 kB / 0.7814 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004711/0.6297, allocations: 3.179 MB / 0.7845 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/0.6298, allocations: 4 kB / 0.7845 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005591/0.6303, allocations: 128.1 kB / 0.7846 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/0.6304, allocations: 15.94 kB / 0.7846 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.327e-05/0.6304, allocations: 23.98 kB / 0.7847 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-05/0.6304, allocations: 15.98 kB / 0.7847 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.6305, allocations: 11.94 kB / 0.7847 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.6327, allocations: 1.74 MB / 0.7864 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005607/0.6333, allocations: 335.4 kB / 0.7867 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.6335, allocations: 24 kB / 0.7867 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.6347, allocations: 131.7 kB / 0.7869 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.325e-05/0.6348, allocations: 55.78 kB / 0.7869 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-05/0.6349, allocations: 39.97 kB / 0.787 GB, free: 15 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001526/0.6364, allocations: 0.895 MB / 0.7878 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6364, allocations: 0 / 0.7878 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001032/0.6374, allocations: 307.8 kB / 0.7881 GB, free: 13.8 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.0006874/0.6381, allocations: 348.9 kB / 0.7885 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002325/0.6405, allocations: 1.041 MB / 0.7895 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6405, allocations: 3.938 kB / 0.7895 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008789/0.6414, allocations: 0.5215 MB / 0.79 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/0.6437, allocations: 0.5241 MB / 0.7905 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/0.6473, allocations: 2.286 MB / 0.7927 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006994/0.648, allocations: 1.089 MB / 0.7938 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001102/0.6491, allocations: 274.3 kB / 0.7941 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/0.6494, allocations: 87.34 kB / 0.7941 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of SimCode: time 6.71e-07/0.6494, allocations: 3.938 kB / 0.7941 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of Templates: time 0.03034/0.6797, allocations: 20.86 MB / 0.8145 GB, free: 2.867 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: