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.001759/0.001759, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002132/0.002132, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.547/1.547, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.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.133/1.133, allocations: 175.7 MB / 480.2 MB, free: 2.77 MB / 366.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.001954/0.001954, allocations: 67.73 kB / 0.6684 GB, free: 10.54 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2093, allocations: 94.53 MB / 0.7607 GB, free: 304 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.0531/0.2624, allocations: 44.16 MB / 0.8038 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01244/0.2749, allocations: 7.336 MB / 0.811 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.2764, allocations: 43.69 kB / 0.811 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001659/0.278, allocations: 0.4924 MB / 0.8115 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004387/0.2824, allocations: 1.501 MB / 0.8129 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003141/0.2856, allocations: 1.068 MB / 0.814 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003972/0.2895, allocations: 2.51 MB / 0.8164 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/0.2911, allocations: 0.6953 MB / 0.8171 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003619/0.2947, allocations: 1.42 MB / 0.8185 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001522/0.2963, allocations: 0.7077 MB / 0.8192 GB, free: 4.156 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003204/0.2966, allocations: 80 kB / 0.8193 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/0.2989, allocations: 0.8461 MB / 0.8201 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004474/0.2994, allocations: 235 kB / 0.8203 GB, free: 3 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.3005, allocations: 0.5053 MB / 0.8208 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003415/0.3039, allocations: 1.557 MB / 0.8223 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3039, allocations: 0 / 0.8223 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3039, allocations: 0 / 0.8223 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.15e-05/0.304, allocations: 0 / 0.8223 GB, free: 0.9297 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.00314/0.3071, allocations: 1.396 MB / 0.8237 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.3071, allocations: 12.03 kB / 0.8237 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002887/0.3074, allocations: 116.2 kB / 0.8238 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.3089, allocations: 0.765 MB / 0.8246 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.374e-05/0.3089, allocations: 54 kB / 0.8246 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.309, allocations: 79.98 kB / 0.8247 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.3106, allocations: 0.8261 MB / 0.8255 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.3106, allocations: 4 kB / 0.8255 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.645e-05/0.3107, allocations: 28 kB / 0.8255 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.3107, allocations: 20 kB / 0.8256 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.3121, allocations: 0.5943 MB / 0.8261 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004295/0.3164, allocations: 3.981 MB / 0.83 GB, free: 8.625 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.3175, allocations: 362.4 kB / 0.8304 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005305/0.318, allocations: 224.4 kB / 0.8306 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/0.3191, allocations: 1.306 MB / 0.8319 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007186/0.3199, allocations: 293.8 kB / 0.8321 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 2.484e-06/0.3199, allocations: 0 / 0.8321 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39): time 0.001898/0.3218, allocations: 0.7126 MB / 0.8328 GB, free: 5.418 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.3218, allocations: 55.41 kB / 0.8329 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.3229, allocations: 0.7277 MB / 0.8336 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.293e-05/0.3229, allocations: 37.7 kB / 0.8336 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004304/0.3234, allocations: 456.5 kB / 0.8341 GB, free: 4.121 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.3235, allocations: 134.9 kB / 0.8342 GB, free: 3.988 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/0.3238, allocations: 138.1 kB / 0.8343 GB, free: 3.848 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3239, allocations: 330 kB / 0.8346 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005548/0.3245, allocations: 209 kB / 0.8348 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007866/0.3253, allocations: 427.6 kB / 0.8353 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.3266, allocations: 0.6547 MB / 0.8359 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.3266, allocations: 4 kB / 0.8359 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0018/0.3284, allocations: 0.7758 MB / 0.8367 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.513e-05/0.3285, allocations: 64.09 kB / 0.8367 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.3285, allocations: 11.92 kB / 0.8367 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.164e-05/0.3285, allocations: 16 kB / 0.8367 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.329, allocations: 127.8 kB / 0.8369 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-05/0.329, allocations: 19.92 kB / 0.8369 GB, free: 1.027 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006951/0.3297, allocations: 111.3 kB / 0.837 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.3298, allocations: 39.98 kB / 0.837 GB, free: 0.8789 MB / 0.6387 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.0004108/0.3302, allocations: 245.7 kB / 0.8373 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.3304, allocations: 83.48 kB / 0.8373 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5028/0.8333, allocations: 1.106 MB / 0.8384 GB, free: 76.35 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-05/0.8333, allocations: 13.53 kB / 0.8384 GB, free: 76.35 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.8333, allocations: 1.094 kB / 0.8384 GB, free: 76.35 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.8333, allocations: 3.281 kB / 0.8384 GB, free: 76.35 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004448/0.8378, allocations: 1.916 MB / 0.8403 GB, free: 75.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.8378, allocations: 3.875 kB / 0.8403 GB, free: 75.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004619/0.8382, allocations: 102.7 kB / 0.8404 GB, free: 75.95 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-05/0.8383, allocations: 6.5 kB / 0.8404 GB, free: 75.95 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.317e-05/0.8383, allocations: 23.91 kB / 0.8404 GB, free: 75.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.386e-05/0.8383, allocations: 13.53 kB / 0.8405 GB, free: 75.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-05/0.8383, allocations: 5.328 kB / 0.8405 GB, free: 75.95 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002777/0.8411, allocations: 1.411 MB / 0.8418 GB, free: 75.44 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000411/0.8415, allocations: 266.2 kB / 0.8421 GB, free: 75.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.8416, allocations: 18.78 kB / 0.8421 GB, free: 75.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005125/0.8421, allocations: 51.73 kB / 0.8422 GB, free: 75.28 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.8423, allocations: 80.3 kB / 0.8422 GB, free: 75.26 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-05/0.8424, allocations: 28.83 kB / 0.8423 GB, free: 75.26 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008166/0.8432, allocations: 0.4899 MB / 0.8427 GB, free: 75.05 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.8432, allocations: 0 / 0.8427 GB, free: 75.05 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00125/0.8445, allocations: 337.9 kB / 0.8431 GB, free: 75 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.001031/0.8455, allocations: 421.8 kB / 0.8435 GB, free: 74.89 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001863/0.8474, allocations: 0.7494 MB / 0.8442 GB, free: 74.57 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.8474, allocations: 0.8125 kB / 0.8442 GB, free: 74.57 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.8484, allocations: 430.6 kB / 0.8446 GB, free: 74.43 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/0.8502, allocations: 372.1 kB / 0.845 GB, free: 74.36 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/0.8534, allocations: 1.639 MB / 0.8466 GB, free: 73.44 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007396/0.8541, allocations: 1.025 MB / 0.8476 GB, free: 72.73 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007454/0.8549, allocations: 170.3 kB / 0.8477 GB, free: 72.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.8551, allocations: 83.88 kB / 0.8478 GB, free: 72.68 MB / 0.6387 GB Notification: Performance of SimCode: time 9.52e-07/0.8551, allocations: 0.5312 kB / 0.8478 GB, free: 72.68 MB / 0.6387 GB Notification: Performance of Templates: time 0.04392/0.8991, allocations: 18.93 MB / 0.8663 GB, free: 66.23 MB / 0.6387 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.527053623460233]