Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 202.5 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.058/1.058, allocations: 175.8 MB / 481.9 MB, free: 7.684 MB / 382.1 MB " [Timeout remaining time 179] 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.Taps.Examples.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap") translateModel(IDEAS.Fluid.Taps.Examples.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 69.14 kB / 0.6705 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5109/0.5131, allocations: 94.54 MB / 0.7628 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.0443/0.5574, allocations: 44.15 MB / 0.8059 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01214/0.5695, allocations: 7.344 MB / 0.8131 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001805/0.5713, allocations: 39.03 kB / 0.8131 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.5728, allocations: 0.4939 MB / 0.8136 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004299/0.5771, allocations: 1.496 MB / 0.8151 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00287/0.58, allocations: 1.066 MB / 0.8161 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003583/0.5836, allocations: 2.52 MB / 0.8186 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.5846, allocations: 0.69 MB / 0.8193 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002806/0.5874, allocations: 1.426 MB / 0.8206 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009352/0.5884, allocations: 0.7059 MB / 0.8213 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.5885, allocations: 86.53 kB / 0.8214 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.5903, allocations: 0.8348 MB / 0.8222 GB, free: 500 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000251/0.5906, allocations: 233.7 kB / 0.8225 GB, free: 312 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000535/0.5911, allocations: 0.5124 MB / 0.823 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002114/0.5932, allocations: 1.56 MB / 0.8245 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5932, allocations: 7.922 kB / 0.8245 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5932, allocations: 0 / 0.8245 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.993e-05/0.5932, allocations: 1.031 kB / 0.8245 GB, free: 14.93 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.002294/0.5955, allocations: 1.384 MB / 0.8258 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.5956, allocations: 13.81 kB / 0.8259 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002319/0.5958, allocations: 117.9 kB / 0.826 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.5971, allocations: 0.7615 MB / 0.8267 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.35e-05/0.5972, allocations: 51.41 kB / 0.8268 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.5973, allocations: 72.38 kB / 0.8268 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.599, allocations: 0.8423 MB / 0.8276 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.5991, allocations: 6.422 kB / 0.8277 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-05/0.5991, allocations: 27.84 kB / 0.8277 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.5992, allocations: 16.5 kB / 0.8277 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.6009, allocations: 0.5958 MB / 0.8283 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004469/0.6054, allocations: 3.98 MB / 0.8322 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.6065, allocations: 358.6 kB / 0.8325 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005445/0.6071, allocations: 217.5 kB / 0.8327 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/0.6082, allocations: 1.307 MB / 0.834 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007187/0.6089, allocations: 299.8 kB / 0.8343 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 2.084e-06/0.6089, allocations: 1 kB / 0.8343 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.001944/0.6108, allocations: 0.7028 MB / 0.835 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.6109, allocations: 60.27 kB / 0.835 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009117/0.6118, allocations: 0.7221 MB / 0.8357 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.058e-05/0.6119, allocations: 39.42 kB / 0.8358 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000394/0.6122, allocations: 462.5 kB / 0.8362 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.6124, allocations: 136.2 kB / 0.8363 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.6126, allocations: 135.6 kB / 0.8365 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6127, allocations: 330.7 kB / 0.8368 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005629/0.6133, allocations: 217.8 kB / 0.837 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00075/0.614, allocations: 423.2 kB / 0.8374 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.6153, allocations: 0.6592 MB / 0.838 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.6153, allocations: 1.438 kB / 0.838 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001659/0.617, allocations: 0.7744 MB / 0.8388 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.405e-05/0.617, allocations: 67.27 kB / 0.8389 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.617, allocations: 13.3 kB / 0.8389 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.6171, allocations: 9.281 kB / 0.8389 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/0.6176, allocations: 131.3 kB / 0.839 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/0.6176, allocations: 13.25 kB / 0.839 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007392/0.6183, allocations: 118.3 kB / 0.8391 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.88e-05/0.6184, allocations: 39.09 kB / 0.8392 GB, free: 3.105 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 13 (m_flow_set2.count,$PRE.m_flow_set2.count,m_flow_set2.T_start,$PRE.m_flow_set2.T_start,tap2.DHWCom,tap1.DHWCom,m_flow_set1.count,$PRE.m_flow_set1.count,m_flow_set1.T_start,$PRE.m_flow_set1.T_start,$whenCondition1,$whenCondition2,DHWDisCom1_Kh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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.0003548/0.6188, allocations: 246.4 kB / 0.8394 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.6189, allocations: 88.06 kB / 0.8395 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/0.6212, allocations: 1.114 MB / 0.8406 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/0.6212, allocations: 15 kB / 0.8406 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.6213, allocations: 1.219 kB / 0.8406 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.6213, allocations: 3.984 kB / 0.8406 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/0.6245, allocations: 1.914 MB / 0.8425 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.6245, allocations: 3.062 kB / 0.8425 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004085/0.6249, allocations: 105.5 kB / 0.8426 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/0.6249, allocations: 5.188 kB / 0.8426 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/0.625, allocations: 21.83 kB / 0.8426 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.625, allocations: 4.156 kB / 0.8426 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.625, allocations: 16.34 kB / 0.8426 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002636/0.6276, allocations: 1.403 MB / 0.844 GB, free: 24 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004384/0.6281, allocations: 267.4 kB / 0.8442 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.6282, allocations: 18.62 kB / 0.8443 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005095/0.6287, allocations: 55.78 kB / 0.8443 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.6288, allocations: 70.7 kB / 0.8444 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.191e-05/0.6289, allocations: 28.11 kB / 0.8444 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000689/0.6296, allocations: 0.4966 MB / 0.8449 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6296, allocations: 0 / 0.8449 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001127/0.6307, allocations: 337 kB / 0.8452 GB, free: 15.32 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (DHWDisCom1_Kh.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,m_flow_set1.T_start,m_flow_set1.count,tap1.DHWCom,tap2.DHWCom,m_flow_set2.T_start,m_flow_set2.count) * Number of discrete states: 2 (m_flow_set2.count,m_flow_set1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 4 * 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.0008395/0.6315, allocations: 426.1 kB / 0.8456 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001647/0.6332, allocations: 0.7425 MB / 0.8463 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6332, allocations: 1.375 kB / 0.8463 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009153/0.6341, allocations: 444.2 kB / 0.8468 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.6359, allocations: 375.4 kB / 0.8471 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.6385, allocations: 1.633 MB / 0.8487 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006639/0.6392, allocations: 1.023 MB / 0.8497 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004747/0.6396, allocations: 172.2 kB / 0.8499 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.6398, allocations: 86.09 kB / 0.85 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of SimCode: time 7.02e-07/0.6398, allocations: 0 / 0.85 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.03177/0.6716, allocations: 18.91 MB / 0.8684 GB, free: 9.52 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.sim & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.558793677948415] Failed to read output from testmodel.py, exit status != 0: 0.6799772246740758 0.6936529149999999 0.09740862499999994 Calling exit ...