Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008156/0.0008156, allocations: 98.5 kB / 16.02 MB, free: 80 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.0009596/0.0009596, allocations: 182.1 kB / 16.92 MB, free: 6.691 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.499/1.499, allocations: 223.2 MB / 241 MB, free: 5.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7917/0.7917, allocations: 115.5 MB / 407.6 MB, free: 2.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003413, allocations: 8 kB / 495.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2084, allocations: 77.53 MB / 0.5599 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.4683/0.6768, allocations: 112.6 MB / 0.6699 GB, free: 6.082 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03933/0.7162, allocations: 26.37 MB / 0.6956 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006126/0.7223, allocations: 99.38 kB / 0.6957 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003905/0.7263, allocations: 0.9167 MB / 0.6966 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01232/0.7386, allocations: 3.177 MB / 0.6997 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007537/0.7462, allocations: 2.091 MB / 0.7017 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0135/0.7597, allocations: 8.154 MB / 0.7097 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003468/0.7632, allocations: 1.554 MB / 0.7112 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006746/0.77, allocations: 2.255 MB / 0.7134 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004326/0.7743, allocations: 1.715 MB / 0.7151 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007957/0.7751, allocations: 92 kB / 0.7152 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009388/0.7845, allocations: 2.136 MB / 0.7173 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001498/0.7861, allocations: 402 kB / 0.7177 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003421/0.7895, allocations: 1.16 MB / 0.7188 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00951/0.7991, allocations: 3.929 MB / 0.7226 GB, free: 15.87 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.7991, allocations: 3.938 kB / 0.7226 GB, free: 15.86 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.604e-06/0.7991, allocations: 0 / 0.7226 GB, free: 15.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.47e-05/0.7992, allocations: 0 / 0.7226 GB, free: 15.86 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.006155/0.8054, allocations: 2.433 MB / 0.725 GB, free: 13.37 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.8054, allocations: 8.031 kB / 0.725 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007288/0.8062, allocations: 253.1 kB / 0.7253 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004683/0.8109, allocations: 2.1 MB / 0.7273 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.139e-05/0.811, allocations: 102.7 kB / 0.7274 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002176/0.8112, allocations: 139.9 kB / 0.7275 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003157/0.8144, allocations: 1.461 MB / 0.729 GB, free: 9.184 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.485e-05/0.8144, allocations: 7.938 kB / 0.729 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/0.8146, allocations: 56 kB / 0.729 GB, free: 9.121 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-05/0.8146, allocations: 39.94 kB / 0.7291 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/0.8166, allocations: 1.029 MB / 0.7301 GB, free: 8.047 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01121/0.8278, allocations: 8.139 MB / 0.738 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.8294, allocations: 0.8453 MB / 0.7388 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007476/0.8302, allocations: 376.8 kB / 0.7392 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002203/0.8324, allocations: 2.811 MB / 0.7419 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.8324, allocations: 43.22 kB / 0.742 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=85): time 2.785e-06/0.8325, allocations: 0 / 0.742 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85): time 0.002905/0.8354, allocations: 1.148 MB / 0.7431 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.8354, allocations: 60.06 kB / 0.7432 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002583/0.838, allocations: 1.61 MB / 0.7447 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.8381, allocations: 41.7 kB / 0.7448 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009382/0.8391, allocations: 0.9237 MB / 0.7457 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003643/0.8395, allocations: 311.6 kB / 0.746 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.8396, allocations: 93.67 kB / 0.7461 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.8398, allocations: 349.9 kB / 0.7464 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006034/0.8404, allocations: 326.4 kB / 0.7467 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008613/0.8412, allocations: 0.715 MB / 0.7474 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.8428, allocations: 1.089 MB / 0.7485 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.8429, allocations: 4 kB / 0.7485 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002451/0.8453, allocations: 1.265 MB / 0.7497 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003789/0.8457, allocations: 436.9 kB / 0.7501 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.094e-05/0.8458, allocations: 28 kB / 0.7502 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.299e-05/0.8458, allocations: 16 kB / 0.7502 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008376/0.8466, allocations: 267.5 kB / 0.7504 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.513e-05/0.8467, allocations: 31.91 kB / 0.7505 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.8482, allocations: 178.7 kB / 0.7506 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.8483, allocations: 67.97 kB / 0.7507 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.113e-06/0.8483, allocations: 1.875 kB / 0.7507 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002172/0.8505, allocations: 1.066 MB / 0.7517 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.943e-05/0.8505, allocations: 16 kB / 0.7518 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.8505, allocations: 16 kB / 0.7518 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007655/0.8513, allocations: 264.3 kB / 0.752 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.073e-05/0.8513, allocations: 27.92 kB / 0.752 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.8527, allocations: 162.9 kB / 0.7522 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.8528, allocations: 63.97 kB / 0.7523 GB, free: 15.36 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * 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 prepare postOptimizeDAE: time 0.001184/0.854, allocations: 484.6 kB / 0.7527 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004239/0.8544, allocations: 189.7 kB / 0.7529 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003466/0.8579, allocations: 1.75 MB / 0.7546 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.719e-05/0.858, allocations: 23.92 kB / 0.7546 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.858, allocations: 0 / 0.7546 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001822/0.8598, allocations: 1.154 MB / 0.7558 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006179/0.866, allocations: 3.49 MB / 0.7592 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-05/0.866, allocations: 8 kB / 0.7592 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008066/0.8668, allocations: 203.7 kB / 0.7594 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.719e-05/0.8669, allocations: 12.44 kB / 0.7594 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.953e-05/0.867, allocations: 43.98 kB / 0.7594 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.735e-05/0.867, allocations: 15.94 kB / 0.7594 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.869e-06/0.867, allocations: 11.92 kB / 0.7595 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003552/0.8706, allocations: 2.246 MB / 0.7616 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.8716, allocations: 477.9 kB / 0.7621 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.8718, allocations: 32 kB / 0.7621 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009942/0.8728, allocations: 88.05 kB / 0.7622 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002363/0.8731, allocations: 128.6 kB / 0.7623 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.8732, allocations: 59.97 kB / 0.7624 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001683/0.8749, allocations: 1.079 MB / 0.7635 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8749, allocations: 4 kB / 0.7635 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003151/0.8781, allocations: 1.135 MB / 0.7646 GB, free: 2.406 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * 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.001585/0.8797, allocations: 0.7789 MB / 0.7653 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00306/0.8827, allocations: 1.808 MB / 0.7671 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.8827, allocations: 4 kB / 0.7671 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.884, allocations: 0.8306 MB / 0.7679 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007345/0.8914, allocations: 0.9355 MB / 0.7688 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007263/0.8987, allocations: 4.466 MB / 0.7732 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/0.9001, allocations: 1.436 MB / 0.7746 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0025/0.9026, allocations: 0.5309 MB / 0.7751 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005956/0.9032, allocations: 187.4 kB / 0.7753 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of SimCode: time 8.81e-07/0.9033, allocations: 0 / 0.7753 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of Templates: time 0.08004/0.9833, allocations: 41.45 MB / 0.8158 GB, free: 14.27 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)