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.001109/0.00111, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008116/0.008116, allocations: 170.6 kB / 16.26 MB, free: 6.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.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.084/1.084, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003269, allocations: 15.94 kB / 0.5076 GB, free: 4.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1678, allocations: 82.31 MB / 0.588 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5002/0.6682, allocations: 189.1 MB / 0.7726 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01079/0.679, allocations: 6.916 MB / 0.7794 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.6808, allocations: 39.69 kB / 0.7794 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.6824, allocations: 0.5554 MB / 0.78 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006225/0.6887, allocations: 2.179 MB / 0.7821 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003581/0.6923, allocations: 1.295 MB / 0.7834 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005572/0.6979, allocations: 3.735 MB / 0.787 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002137/0.7, allocations: 0.7755 MB / 0.7878 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002841/0.7029, allocations: 0.9686 MB / 0.7887 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002437/0.7053, allocations: 0.7881 MB / 0.7895 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004168/0.7058, allocations: 40 kB / 0.7895 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005036/0.7108, allocations: 2.217 MB / 0.7917 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007483/0.7116, allocations: 314.8 kB / 0.792 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.7131, allocations: 0.5456 MB / 0.7925 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005255/0.7184, allocations: 2.391 MB / 0.7949 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.7184, allocations: 4 kB / 0.7949 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.395e-06/0.7184, allocations: 0 / 0.7949 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.2e-05/0.7185, allocations: 0 / 0.7949 GB, free: 8.539 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.004101/0.7226, allocations: 1.392 MB / 0.7962 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.7226, allocations: 8.031 kB / 0.7962 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003246/0.7259, allocations: 0.5996 MB / 0.7968 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00243/0.7283, allocations: 0.9907 MB / 0.7978 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001257/0.7296, allocations: 321 kB / 0.7981 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002254/0.7299, allocations: 68 kB / 0.7981 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002656/0.7325, allocations: 1.15 MB / 0.7993 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.7326, allocations: 4 kB / 0.7993 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.674e-05/0.7327, allocations: 28 kB / 0.7993 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.513e-05/0.7327, allocations: 37.3 kB / 0.7993 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003319/0.736, allocations: 1.254 MB / 0.8006 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006305/0.7424, allocations: 3.252 MB / 0.8037 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.7441, allocations: 0.6998 MB / 0.8044 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008174/0.7449, allocations: 431.2 kB / 0.8048 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009032/0.7459, allocations: 1.025 MB / 0.8058 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.7469, allocations: 0.5143 MB / 0.8063 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 2.365e-06/0.7469, allocations: 0 / 0.8063 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.003049/0.75, allocations: 1.252 MB / 0.8076 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.903e-05/0.7501, allocations: 144.8 kB / 0.8077 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002089/0.7522, allocations: 1.219 MB / 0.8089 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.7523, allocations: 37.7 kB / 0.8089 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003782/0.7527, allocations: 437.4 kB / 0.8093 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.7529, allocations: 189.3 kB / 0.8095 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.38e-05/0.753, allocations: 49.69 kB / 0.8096 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.7531, allocations: 338 kB / 0.8099 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.7544, allocations: 480.9 kB / 0.8104 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.756, allocations: 0.6406 MB / 0.811 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00231/0.7583, allocations: 0.9847 MB / 0.8119 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.7583, allocations: 0 / 0.8119 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003502/0.7618, allocations: 1.291 MB / 0.8132 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.79e-05/0.7619, allocations: 37.64 kB / 0.8132 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.7619, allocations: 8.281 kB / 0.8132 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.7619, allocations: 7.938 kB / 0.8133 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009556/0.7629, allocations: 215.7 kB / 0.8135 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.7629, allocations: 7.938 kB / 0.8135 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.7646, allocations: 314.5 kB / 0.8138 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.262e-05/0.7647, allocations: 31.98 kB / 0.8138 GB, free: 4.484 MB / 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.0005933/0.7653, allocations: 335.2 kB / 0.8141 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.7655, allocations: 118.6 kB / 0.8142 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/0.7678, allocations: 1.009 MB / 0.8152 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-05/0.7679, allocations: 7.938 kB / 0.8152 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.7679, allocations: 8 kB / 0.8152 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.7679, allocations: 3.984 kB / 0.8152 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005352/0.7733, allocations: 3.163 MB / 0.8183 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.232e-05/0.7733, allocations: 12.16 kB / 0.8183 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005917/0.7739, allocations: 119.8 kB / 0.8184 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.01e-05/0.7739, allocations: 12 kB / 0.8185 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.774, allocations: 27.98 kB / 0.8185 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-05/0.774, allocations: 19.92 kB / 0.8185 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/0.7741, allocations: 11.94 kB / 0.8185 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/0.7763, allocations: 1.355 MB / 0.8198 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005819/0.7769, allocations: 335.3 kB / 0.8202 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002372/0.7772, allocations: 24 kB / 0.8202 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.7784, allocations: 127.9 kB / 0.8203 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.7786, allocations: 67.56 kB / 0.8204 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.574e-05/0.7787, allocations: 39.97 kB / 0.8204 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001781/0.7804, allocations: 0.8872 MB / 0.8213 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7805, allocations: 0 / 0.8213 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001246/0.7817, allocations: 295.8 kB / 0.8216 GB, free: 12.21 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.0008854/0.7826, allocations: 354.1 kB / 0.8219 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002648/0.7853, allocations: 1.049 MB / 0.8229 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/0.7853, allocations: 7.938 kB / 0.8229 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009483/0.7862, allocations: 0.5164 MB / 0.8234 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004038/0.7903, allocations: 0.5316 MB / 0.8239 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004329/0.7946, allocations: 2.377 MB / 0.8263 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009229/0.7956, allocations: 1.069 MB / 0.8273 GB, free: 6.152 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001352/0.7969, allocations: 280.1 kB / 0.8276 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/0.7974, allocations: 79.42 kB / 0.8277 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of SimCode: time 1.182e-06/0.7974, allocations: 0 / 0.8277 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of Templates: time 0.03764/0.835, allocations: 21.13 MB / 0.8483 GB, free: 0.9219 MB / 0.6544 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)