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.001356/0.001356, allocations: 104 kB / 16.4 MB, free: 6.504 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.001402/0.001402, allocations: 196 kB / 17.34 MB, free: 5.742 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7724/0.7724, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 64.55 kB / 0.5577 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1708, allocations: 76.17 MB / 0.6321 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1161/0.287, allocations: 115.2 MB / 0.7445 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4104/0.6975, allocations: 26.53 MB / 0.7704 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007173/0.7047, allocations: 118.7 kB / 0.7706 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004476/0.7092, allocations: 1.148 MB / 0.7717 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01155/0.7208, allocations: 3.424 MB / 0.775 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008394/0.7292, allocations: 2.35 MB / 0.7773 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01195/0.7412, allocations: 6.194 MB / 0.7834 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004454/0.7457, allocations: 1.921 MB / 0.7852 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007505/0.7532, allocations: 2.694 MB / 0.7879 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004259/0.7575, allocations: 1.765 MB / 0.7896 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009122/0.7584, allocations: 220.2 kB / 0.7898 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009035/0.7675, allocations: 2.349 MB / 0.7921 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001306/0.7688, allocations: 0.5403 MB / 0.7926 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003757/0.7726, allocations: 1.286 MB / 0.7939 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009483/0.7821, allocations: 4.096 MB / 0.7979 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.7821, allocations: 0 / 0.7979 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.414e-06/0.7822, allocations: 0 / 0.7979 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001172/0.7823, allocations: 2.281 kB / 0.7979 GB, free: 6.273 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.007659/0.7899, allocations: 2.84 MB / 0.8007 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.79, allocations: 9.531 kB / 0.8007 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.7911, allocations: 263.9 kB / 0.8009 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004439/0.7955, allocations: 2.134 MB / 0.803 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.969e-05/0.7956, allocations: 105.4 kB / 0.8031 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.7958, allocations: 135.4 kB / 0.8032 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/0.798, allocations: 1.459 MB / 0.8047 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.856e-05/0.798, allocations: 6.844 kB / 0.8047 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.7982, allocations: 58.75 kB / 0.8047 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-05/0.7982, allocations: 39.89 kB / 0.8048 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.8, allocations: 1.024 MB / 0.8058 GB, free: 1.07 MB / 0.5762 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.01038/0.8104, allocations: 8.122 MB / 0.8137 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.8119, allocations: 0.8391 MB / 0.8145 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005816/0.8125, allocations: 380 kB / 0.8149 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002235/0.8147, allocations: 2.806 MB / 0.8176 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.8148, allocations: 41.62 kB / 0.8176 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 3.867e-06/0.8148, allocations: 0 / 0.8176 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.002621/0.8174, allocations: 1.125 MB / 0.8187 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.8174, allocations: 59.84 kB / 0.8188 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002157/0.8196, allocations: 1.626 MB / 0.8204 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.421e-05/0.8197, allocations: 43.55 kB / 0.8204 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007544/0.8205, allocations: 0.9271 MB / 0.8213 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000327/0.8208, allocations: 314.7 kB / 0.8216 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000316/0.8211, allocations: 224.5 kB / 0.8219 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.8213, allocations: 357.1 kB / 0.8222 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006034/0.822, allocations: 324.7 kB / 0.8225 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008678/0.8228, allocations: 0.7079 MB / 0.8232 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.8244, allocations: 1.079 MB / 0.8242 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.8244, allocations: 4.688 kB / 0.8242 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002309/0.8267, allocations: 1.256 MB / 0.8255 GB, free: 260 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.8268, allocations: 7.875 kB / 0.8255 GB, free: 260 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.542e-05/0.8268, allocations: 23.52 kB / 0.8255 GB, free: 252 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.903e-05/0.8269, allocations: 20.69 kB / 0.8255 GB, free: 232 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008927/0.8278, allocations: 259.6 kB / 0.8258 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.632e-05/0.8278, allocations: 20.64 kB / 0.8258 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.8292, allocations: 142.6 kB / 0.8259 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.8293, allocations: 63.92 kB / 0.826 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001233/0.8306, allocations: 0.6275 MB / 0.8266 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001003/0.8316, allocations: 0.7009 MB / 0.8273 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001693/0.8333, allocations: 1.076 MB / 0.8283 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.363e-06/0.8333, allocations: 4 kB / 0.8283 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002707/0.836, allocations: 1.247 MB / 0.8296 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/0.8361, allocations: 12.16 kB / 0.8296 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-05/0.8361, allocations: 20 kB / 0.8296 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.8361, allocations: 16 kB / 0.8296 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000813/0.837, allocations: 255.6 kB / 0.8298 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.146e-05/0.837, allocations: 23.92 kB / 0.8299 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.8382, allocations: 95.27 kB / 0.83 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.8383, allocations: 71.97 kB / 0.83 GB, free: 11.3 MB / 0.6075 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.000322/0.8387, allocations: 255.8 kB / 0.8303 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003922/0.8391, allocations: 193.7 kB / 0.8305 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00327/0.8423, allocations: 1.742 MB / 0.8322 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.972e-05/0.8424, allocations: 19.98 kB / 0.8322 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.8424, allocations: 4.531 kB / 0.8322 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001742/0.8442, allocations: 1.142 MB / 0.8333 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006558/0.8507, allocations: 3.483 MB / 0.8367 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.781e-05/0.8508, allocations: 11.94 kB / 0.8367 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007355/0.8515, allocations: 208.5 kB / 0.8369 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.578e-05/0.8516, allocations: 12 kB / 0.8369 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.433e-05/0.8516, allocations: 43.98 kB / 0.837 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.17e-05/0.8517, allocations: 15.92 kB / 0.837 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/0.8517, allocations: 11.94 kB / 0.837 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003406/0.8551, allocations: 2.222 MB / 0.8392 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008423/0.8559, allocations: 442.1 kB / 0.8396 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/0.8562, allocations: 32 kB / 0.8396 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008465/0.857, allocations: 47.97 kB / 0.8397 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/0.8572, allocations: 124.5 kB / 0.8398 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.8574, allocations: 63.97 kB / 0.8398 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001578/0.8589, allocations: 1.084 MB / 0.8409 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.21e-07/0.859, allocations: 0 / 0.8409 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003042/0.862, allocations: 1.138 MB / 0.842 GB, free: 14.74 MB / 0.6231 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.001632/0.8636, allocations: 0.7994 MB / 0.8428 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0033/0.867, allocations: 1.808 MB / 0.8446 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/0.867, allocations: 0 / 0.8446 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.8683, allocations: 0.8233 MB / 0.8454 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004026/0.8723, allocations: 0.9689 MB / 0.8463 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005352/0.8777, allocations: 3.563 MB / 0.8498 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009908/0.8787, allocations: 1.432 MB / 0.8512 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001868/0.8806, allocations: 0.5388 MB / 0.8517 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000382/0.881, allocations: 191.3 kB / 0.8519 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of SimCode: time 5.01e-07/0.881, allocations: 0 / 0.8519 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of Templates: time 0.07672/0.9577, allocations: 43.36 MB / 0.8942 GB, free: 9.723 MB / 0.67 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)