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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002025/0.002025, allocations: 71.36 kB / 20.51 MB, free: 1.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002268/0.002268, allocations: 159.9 kB / 23.76 MB, free: 4.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 177.2 MB / 204.1 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9416/0.9416, allocations: 113.9 MB / 374.5 MB, free: 12.89 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003138/0.003138, allocations: 65.69 kB / 0.555 GB, free: 2.723 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1975, allocations: 89.14 MB / 0.6421 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.4796/0.6771, allocations: 106.3 MB / 0.7459 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03822/0.7154, allocations: 24.73 MB / 0.77 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005888/0.7212, allocations: 157.6 kB / 0.7702 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003383/0.7246, allocations: 1.151 MB / 0.7713 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009635/0.7343, allocations: 3.61 MB / 0.7748 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006126/0.7404, allocations: 2.42 MB / 0.7772 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007675/0.7481, allocations: 6.26 MB / 0.7833 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00217/0.7502, allocations: 1.522 MB / 0.7848 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006543/0.7568, allocations: 3.073 MB / 0.7878 GB, free: 464 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003009/0.7598, allocations: 1.658 MB / 0.7894 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003466/0.7601, allocations: 208 kB / 0.7896 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004254/0.7644, allocations: 1.755 MB / 0.7913 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005507/0.7649, allocations: 0.5212 MB / 0.7918 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001295/0.7662, allocations: 1.027 MB / 0.7928 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005709/0.7719, allocations: 3.927 MB / 0.7967 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/0.772, allocations: 4 kB / 0.7967 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.233e-06/0.772, allocations: 3.938 kB / 0.7967 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.081e-05/0.772, allocations: 0 / 0.7967 GB, free: 7.383 MB / 0.6387 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.005179/0.7772, allocations: 2.775 MB / 0.7994 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.7772, allocations: 8.031 kB / 0.7994 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009777/0.7782, allocations: 306.3 kB / 0.7997 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003911/0.7821, allocations: 1.913 MB / 0.8016 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.908e-05/0.7822, allocations: 106.7 kB / 0.8017 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.7824, allocations: 136 kB / 0.8018 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002543/0.7849, allocations: 1.612 MB / 0.8034 GB, free: 324 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.108e-05/0.785, allocations: 8 kB / 0.8034 GB, free: 316 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.7851, allocations: 55.98 kB / 0.8034 GB, free: 260 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.434e-05/0.7851, allocations: 36 kB / 0.8035 GB, free: 224 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.7871, allocations: 1.021 MB / 0.8045 GB, free: 15.19 MB / 0.6544 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.007377/0.7944, allocations: 5.233 MB / 0.8096 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.7959, allocations: 0.7086 MB / 0.8103 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006047/0.7965, allocations: 345.3 kB / 0.8106 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009838/0.7975, allocations: 284.3 kB / 0.8109 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.7976, allocations: 43.22 kB / 0.8109 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=85): time 2.615e-06/0.7976, allocations: 0 / 0.8109 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85): time 0.002295/0.7998, allocations: 1.129 MB / 0.812 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.7999, allocations: 60.06 kB / 0.8121 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/0.8019, allocations: 1.46 MB / 0.8135 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.966e-05/0.802, allocations: 45.64 kB / 0.8135 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007466/0.8027, allocations: 0.9251 MB / 0.8144 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002752/0.803, allocations: 317.3 kB / 0.8147 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003028/0.8033, allocations: 210.5 kB / 0.8149 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.8034, allocations: 341.9 kB / 0.8153 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005925/0.804, allocations: 316.9 kB / 0.8156 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009486/0.805, allocations: 0.7983 MB / 0.8163 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.8065, allocations: 0.9429 MB / 0.8173 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.8065, allocations: 4 kB / 0.8173 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002075/0.8086, allocations: 1.132 MB / 0.8184 GB, free: 452 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.8086, allocations: 8.906 kB / 0.8184 GB, free: 444 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.971e-05/0.8086, allocations: 12 kB / 0.8184 GB, free: 432 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.8086, allocations: 19.98 kB / 0.8184 GB, free: 412 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007576/0.8094, allocations: 227.6 kB / 0.8186 GB, free: 184 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.466e-05/0.8094, allocations: 25 kB / 0.8187 GB, free: 160 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008683/0.8103, allocations: 103.3 kB / 0.8188 GB, free: 56 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.8104, allocations: 60.02 kB / 0.8188 GB, free: 15.99 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001099/0.8115, allocations: 0.6037 MB / 0.8194 GB, free: 15.39 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000944/0.8124, allocations: 0.7974 MB / 0.8202 GB, free: 14.42 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001481/0.8139, allocations: 0.939 MB / 0.8211 GB, free: 13.37 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.961e-06/0.8139, allocations: 4 kB / 0.8211 GB, free: 13.36 MB / 0.67 GB Notification: Performance of matching and sorting (n=128) (initialization_lambda0): time 0.002075/0.816, allocations: 1.133 MB / 0.8222 GB, free: 12.22 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.816, allocations: 8 kB / 0.8222 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/0.8161, allocations: 16.05 kB / 0.8222 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.8161, allocations: 16 kB / 0.8222 GB, free: 12.18 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007444/0.8168, allocations: 231.6 kB / 0.8225 GB, free: 11.96 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/0.8168, allocations: 15.94 kB / 0.8225 GB, free: 11.94 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008726/0.8177, allocations: 103.4 kB / 0.8226 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.8178, allocations: 60.12 kB / 0.8226 GB, free: 11.78 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (124): * Single equations (assignments): 120 * 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.0003138/0.8181, allocations: 243.9 kB / 0.8229 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003171/0.8184, allocations: 186.8 kB / 0.823 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0032/0.8216, allocations: 1.764 MB / 0.8248 GB, free: 9.57 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.109e-05/0.8217, allocations: 19.98 kB / 0.8248 GB, free: 9.551 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.8217, allocations: 7.875 kB / 0.8248 GB, free: 9.543 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001965/0.8236, allocations: 1.189 MB / 0.826 GB, free: 8.324 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00553/0.8292, allocations: 2.922 MB / 0.8288 GB, free: 5.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.822e-05/0.8292, allocations: 15.97 kB / 0.8288 GB, free: 5.305 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006935/0.8299, allocations: 171.8 kB / 0.829 GB, free: 5.137 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.68e-05/0.8299, allocations: 8 kB / 0.829 GB, free: 5.129 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.013e-05/0.83, allocations: 35.98 kB / 0.829 GB, free: 5.094 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.888e-05/0.83, allocations: 15.92 kB / 0.829 GB, free: 5.078 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.83, allocations: 4 kB / 0.829 GB, free: 5.074 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003665/0.8337, allocations: 2.131 MB / 0.8311 GB, free: 2.883 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008785/0.8346, allocations: 350.2 kB / 0.8315 GB, free: 2.539 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003138/0.8349, allocations: 24 kB / 0.8315 GB, free: 2.516 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009274/0.8358, allocations: 43.97 kB / 0.8315 GB, free: 2.473 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/0.836, allocations: 108.7 kB / 0.8316 GB, free: 2.367 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.8361, allocations: 55.95 kB / 0.8317 GB, free: 2.312 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001786/0.8379, allocations: 0.9692 MB / 0.8326 GB, free: 1.352 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.8379, allocations: 0 / 0.8326 GB, free: 1.352 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003123/0.841, allocations: 1.145 MB / 0.8338 GB, free: 208 kB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (117): * Single equations (assignments): 90 * 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.001425/0.8424, allocations: 0.7278 MB / 0.8345 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002962/0.8454, allocations: 1.63 MB / 0.8361 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.8454, allocations: 4 kB / 0.8361 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.8466, allocations: 0.705 MB / 0.8367 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003617/0.8502, allocations: 0.8044 MB / 0.8375 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005944/0.8561, allocations: 3.522 MB / 0.841 GB, free: 8.664 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.8572, allocations: 0.8606 MB / 0.8418 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001645/0.8588, allocations: 493.5 kB / 0.8423 GB, free: 7.277 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004241/0.8593, allocations: 176.4 kB / 0.8425 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of SimCode: time 1.002e-06/0.8593, allocations: 0 / 0.8425 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of Templates: time 0.0683/0.9276, allocations: 39.66 MB / 0.8812 GB, free: 140 kB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile [Timeout 660] (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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.577556762960739] Failed to read output from testmodel.py, exit status != 0: 0.9385414470452815 0.951676521 0.176554763 Calling exit ...