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.001176/0.001176, allocations: 103 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.00118/0.00118, allocations: 193.2 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.357/1.357, 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.7404/0.7404, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 70.02 kB / 0.5577 GB, free: 32.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1867, allocations: 76.18 MB / 0.6321 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1117/0.2985, allocations: 115.2 MB / 0.7445 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4856/0.7841, allocations: 26.54 MB / 0.7704 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006386/0.7905, allocations: 114.6 kB / 0.7706 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004395/0.7949, allocations: 1.148 MB / 0.7717 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01298/0.808, allocations: 3.421 MB / 0.775 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00855/0.8166, allocations: 2.346 MB / 0.7773 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009971/0.8266, allocations: 6.202 MB / 0.7834 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003143/0.8297, allocations: 1.92 MB / 0.7852 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006313/0.8361, allocations: 2.698 MB / 0.7879 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003261/0.8393, allocations: 1.768 MB / 0.7896 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004633/0.8398, allocations: 221 kB / 0.7898 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00567/0.8455, allocations: 2.347 MB / 0.7921 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005343/0.8461, allocations: 0.5336 MB / 0.7926 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001782/0.8478, allocations: 1.282 MB / 0.7939 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007043/0.8549, allocations: 4.102 MB / 0.7979 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8549, allocations: 0 / 0.7979 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8549, allocations: 3.938 kB / 0.7979 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.377e-05/0.855, allocations: 0 / 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.005683/0.8607, allocations: 2.842 MB / 0.8007 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.8607, allocations: 8.25 kB / 0.8007 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008913/0.8616, allocations: 265.3 kB / 0.8009 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003961/0.8656, allocations: 2.135 MB / 0.803 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-05/0.8657, allocations: 105.2 kB / 0.8031 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.8659, allocations: 134.1 kB / 0.8032 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/0.868, allocations: 1.455 MB / 0.8047 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/0.8681, allocations: 4.531 kB / 0.8047 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.8682, allocations: 58.34 kB / 0.8047 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.41e-05/0.8682, allocations: 41.48 kB / 0.8048 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.8698, allocations: 1.031 MB / 0.8058 GB, free: 1.051 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.009563/0.8794, allocations: 8.128 MB / 0.8137 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.8809, allocations: 0.8322 MB / 0.8145 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006111/0.8816, allocations: 378 kB / 0.8149 GB, free: 9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002556/0.8841, allocations: 2.815 MB / 0.8176 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.8842, allocations: 41.78 kB / 0.8177 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 3.487e-06/0.8842, allocations: 0 / 0.8177 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.002941/0.8872, allocations: 1.121 MB / 0.8188 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.8872, allocations: 67.53 kB / 0.8188 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002572/0.8898, allocations: 1.618 MB / 0.8204 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/0.8899, allocations: 42.7 kB / 0.8204 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008244/0.8907, allocations: 0.9262 MB / 0.8213 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003455/0.8911, allocations: 312.2 kB / 0.8216 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003384/0.8915, allocations: 229.3 kB / 0.8219 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.8916, allocations: 346.7 kB / 0.8222 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006012/0.8923, allocations: 338.5 kB / 0.8225 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009198/0.8932, allocations: 0.7081 MB / 0.8232 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.8947, allocations: 1.076 MB / 0.8243 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.8948, allocations: 7.125 kB / 0.8243 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002565/0.8973, allocations: 1.254 MB / 0.8255 GB, free: 264 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.8974, allocations: 8.375 kB / 0.8255 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-05/0.8974, allocations: 19.27 kB / 0.8255 GB, free: 248 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.374e-05/0.8975, allocations: 20 kB / 0.8255 GB, free: 228 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008726/0.8983, allocations: 259.6 kB / 0.8258 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.457e-05/0.8984, allocations: 19.94 kB / 0.8258 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.8997, allocations: 142.7 kB / 0.8259 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.8998, allocations: 63.92 kB / 0.826 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001194/0.901, allocations: 0.6275 MB / 0.8266 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008855/0.9019, allocations: 0.7087 MB / 0.8273 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001581/0.9035, allocations: 1.073 MB / 0.8283 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.662e-06/0.9035, allocations: 8 kB / 0.8284 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.00257/0.9061, allocations: 1.241 MB / 0.8296 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.9061, allocations: 13.88 kB / 0.8296 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.948e-05/0.9062, allocations: 12 kB / 0.8296 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.9062, allocations: 20 kB / 0.8296 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008212/0.907, allocations: 260 kB / 0.8299 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.231e-05/0.907, allocations: 27.92 kB / 0.8299 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.9083, allocations: 95.27 kB / 0.83 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.9084, allocations: 64.52 kB / 0.83 GB, free: 11.29 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.0003553/0.9087, allocations: 259.8 kB / 0.8303 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003937/0.9091, allocations: 189.7 kB / 0.8305 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003291/0.9124, allocations: 1.737 MB / 0.8322 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-05/0.9125, allocations: 27.91 kB / 0.8322 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.9125, allocations: 4 kB / 0.8322 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00173/0.9142, allocations: 1.146 MB / 0.8333 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005876/0.9201, allocations: 3.486 MB / 0.8367 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.623e-05/0.9202, allocations: 8 kB / 0.8367 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007271/0.9209, allocations: 199.7 kB / 0.8369 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.578e-05/0.9209, allocations: 12 kB / 0.8369 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-05/0.921, allocations: 47.98 kB / 0.837 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.381e-05/0.9211, allocations: 15.92 kB / 0.837 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.9211, allocations: 11.94 kB / 0.837 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003449/0.9245, allocations: 2.231 MB / 0.8392 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009554/0.9255, allocations: 438.1 kB / 0.8396 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/0.9257, allocations: 31.98 kB / 0.8396 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008339/0.9266, allocations: 39.98 kB / 0.8397 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/0.9268, allocations: 124.6 kB / 0.8398 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.9269, allocations: 59.97 kB / 0.8398 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001622/0.9285, allocations: 1.091 MB / 0.8409 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7.11e-07/0.9286, allocations: 0 / 0.8409 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003242/0.9318, allocations: 1.135 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.001717/0.9335, allocations: 0.7999 MB / 0.8428 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003457/0.937, allocations: 1.804 MB / 0.8446 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/0.937, allocations: 0.875 kB / 0.8446 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.9384, allocations: 0.8245 MB / 0.8454 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004973/0.9434, allocations: 0.9675 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.005979/0.9494, allocations: 3.569 MB / 0.8498 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.9505, allocations: 1.436 MB / 0.8512 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001999/0.9525, allocations: 0.531 MB / 0.8517 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003907/0.9529, allocations: 191.3 kB / 0.8519 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of SimCode: time 7.22e-07/0.9529, allocations: 0 / 0.8519 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of Templates: time 0.07305/1.026, allocations: 43.98 MB / 0.8948 GB, free: 9.098 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)