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.001078/0.001079, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 197 kB / 16.53 MB, free: 6.664 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9505/0.9505, allocations: 135.1 MB / 425.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 64.12 kB / 0.5053 GB, free: 5.324 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1586, allocations: 80.93 MB / 0.5844 GB, free: 4.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.488/0.6467, allocations: 194 MB / 0.7738 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01079/0.6575, allocations: 6.944 MB / 0.7806 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00273/0.6603, allocations: 47.69 kB / 0.7806 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002159/0.6625, allocations: 0.6791 MB / 0.7813 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006099/0.6686, allocations: 2.338 MB / 0.7836 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.672, allocations: 1.405 MB / 0.7849 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003854/0.6759, allocations: 2.978 MB / 0.7878 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.6773, allocations: 0.8964 MB / 0.7887 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002753/0.6801, allocations: 1.136 MB / 0.7898 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.6817, allocations: 0.7878 MB / 0.7906 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003531/0.6821, allocations: 96 kB / 0.7907 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004201/0.6863, allocations: 2.066 MB / 0.7927 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005066/0.6868, allocations: 362.9 kB / 0.7931 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009661/0.6878, allocations: 0.5947 MB / 0.7936 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00404/0.6919, allocations: 2.38 MB / 0.796 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6919, allocations: 4 kB / 0.796 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6919, allocations: 0 / 0.796 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.383e-05/0.6919, allocations: 0 / 0.796 GB, free: 4.074 MB / 0.6075 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.003709/0.6957, allocations: 1.633 MB / 0.7976 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.6957, allocations: 8.031 kB / 0.7976 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003054/0.6988, allocations: 0.537 MB / 0.7981 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002079/0.7009, allocations: 0.9752 MB / 0.799 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001228/0.7021, allocations: 285 kB / 0.7993 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.7022, allocations: 68 kB / 0.7994 GB, free: 484 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/0.7049, allocations: 1.128 MB / 0.8005 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.7049, allocations: 3.938 kB / 0.8005 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.581e-05/0.705, allocations: 28 kB / 0.8005 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.383e-05/0.7051, allocations: 37.28 kB / 0.8006 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003414/0.7085, allocations: 1.207 MB / 0.8017 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006194/0.7147, allocations: 3.199 MB / 0.8049 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.7167, allocations: 0.6891 MB / 0.8055 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008147/0.7175, allocations: 418.3 kB / 0.8059 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009382/0.7184, allocations: 1.025 MB / 0.8069 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.7195, allocations: 0.5143 MB / 0.8074 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 2.264e-06/0.7196, allocations: 0 / 0.8074 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.003221/0.7228, allocations: 1.221 MB / 0.8086 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.7229, allocations: 144.9 kB / 0.8088 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/0.7253, allocations: 1.196 MB / 0.8099 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000186/0.7255, allocations: 41.7 kB / 0.81 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005005/0.726, allocations: 441.4 kB / 0.8104 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003241/0.7264, allocations: 193.3 kB / 0.8106 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004274/0.7268, allocations: 142 kB / 0.8107 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.727, allocations: 330 kB / 0.811 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.7285, allocations: 464.9 kB / 0.8115 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.7301, allocations: 0.6132 MB / 0.8121 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002379/0.7325, allocations: 0.9457 MB / 0.813 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.7325, allocations: 0 / 0.813 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003557/0.7361, allocations: 1.229 MB / 0.8142 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/0.7362, allocations: 43.11 kB / 0.8142 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.7362, allocations: 3.984 kB / 0.8142 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.7362, allocations: 15.92 kB / 0.8142 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009893/0.7372, allocations: 196 kB / 0.8144 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.041e-05/0.7373, allocations: 11.94 kB / 0.8144 GB, free: 500 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/0.739, allocations: 266.9 kB / 0.8147 GB, free: 232 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.7391, allocations: 39.98 kB / 0.8147 GB, free: 192 kB / 0.6231 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.0005379/0.7397, allocations: 333.6 kB / 0.8151 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/0.74, allocations: 114.6 kB / 0.8152 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.7422, allocations: 0.9935 MB / 0.8161 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.7422, allocations: 11.94 kB / 0.8161 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.7422, allocations: 4 kB / 0.8162 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.7422, allocations: 3.984 kB / 0.8162 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004941/0.7472, allocations: 3.158 MB / 0.8192 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/0.7472, allocations: 8 kB / 0.8192 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005962/0.7478, allocations: 120.1 kB / 0.8194 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.861e-05/0.7478, allocations: 15.98 kB / 0.8194 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.763e-05/0.7479, allocations: 23.94 kB / 0.8194 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.46e-05/0.7479, allocations: 17 kB / 0.8194 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.7479, allocations: 11.94 kB / 0.8194 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00232/0.7503, allocations: 1.339 MB / 0.8207 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006174/0.7509, allocations: 327.4 kB / 0.821 GB, free: 9.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000245/0.7512, allocations: 20 kB / 0.8211 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.7524, allocations: 111.9 kB / 0.8212 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.7525, allocations: 63.7 kB / 0.8212 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-05/0.7526, allocations: 39.97 kB / 0.8213 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001604/0.7542, allocations: 0.8716 MB / 0.8221 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7542, allocations: 0 / 0.8221 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001065/0.7553, allocations: 299.8 kB / 0.8224 GB, free: 8.008 MB / 0.6387 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.0007185/0.756, allocations: 349 kB / 0.8227 GB, free: 7.676 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002557/0.7586, allocations: 1.052 MB / 0.8238 GB, free: 6.613 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.7586, allocations: 7.938 kB / 0.8238 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000987/0.7596, allocations: 0.5178 MB / 0.8243 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/0.7624, allocations: 0.5492 MB / 0.8248 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003641/0.7661, allocations: 2.051 MB / 0.8268 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006733/0.7668, allocations: 1.065 MB / 0.8279 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001189/0.768, allocations: 275.5 kB / 0.8281 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.7682, allocations: 83.41 kB / 0.8282 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of SimCode: time 5.41e-07/0.7682, allocations: 0 / 0.8282 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of Templates: time 0.03893/0.8072, allocations: 22.07 MB / 0.8498 GB, free: 12.13 MB / 0.67 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)