Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.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.001596/0.001596, 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.001727/0.001727, allocations: 200.8 kB / 22.17 MB, free: 5.211 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.408/1.408, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.047/1.047, allocations: 175.8 MB / 481.9 MB, free: 7.691 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.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile") translateModel(IDEAS.Fluid.Taps.Examples.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 65.14 kB / 0.6705 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6605/0.6624, allocations: 94.53 MB / 0.7628 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.0499/0.7123, allocations: 44.42 MB / 0.8062 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01547/0.7278, allocations: 8.561 MB / 0.8145 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002507/0.7303, allocations: 40.09 kB / 0.8146 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.7324, allocations: 0.5317 MB / 0.8151 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005951/0.7383, allocations: 1.58 MB / 0.8166 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004013/0.7423, allocations: 1.211 MB / 0.8178 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004842/0.7472, allocations: 2.63 MB / 0.8204 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/0.7487, allocations: 0.7288 MB / 0.8211 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004118/0.7529, allocations: 1.462 MB / 0.8225 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001845/0.7547, allocations: 0.7375 MB / 0.8232 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001899/0.7549, allocations: 86.19 kB / 0.8233 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002884/0.7578, allocations: 0.9006 MB / 0.8242 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003448/0.7581, allocations: 264.7 kB / 0.8245 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008794/0.759, allocations: 0.535 MB / 0.825 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004066/0.7631, allocations: 1.691 MB / 0.8266 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.7631, allocations: 1.188 kB / 0.8266 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7631, allocations: 0 / 0.8266 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.08e-05/0.7631, allocations: 4 kB / 0.8266 GB, free: 13.29 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.002724/0.7658, allocations: 1.4 MB / 0.828 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.7659, allocations: 9.406 kB / 0.828 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002924/0.7661, allocations: 127.2 kB / 0.8281 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.7677, allocations: 0.8413 MB / 0.829 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.383e-05/0.7678, allocations: 62 kB / 0.829 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.7679, allocations: 70.66 kB / 0.8291 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.7694, allocations: 0.7842 MB / 0.8298 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.7695, allocations: 1.375 kB / 0.8298 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.899e-05/0.7695, allocations: 28.78 kB / 0.8299 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.7696, allocations: 16.16 kB / 0.8299 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.7706, allocations: 0.5153 MB / 0.8304 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004522/0.7751, allocations: 3.812 MB / 0.8341 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007355/0.7758, allocations: 323.8 kB / 0.8344 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/0.7762, allocations: 194.2 kB / 0.8346 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/0.7774, allocations: 1.317 MB / 0.8359 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005466/0.7779, allocations: 254.6 kB / 0.8361 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.304e-06/0.7779, allocations: 0 / 0.8361 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of matching and sorting (n=41): time 0.001602/0.7795, allocations: 0.6523 MB / 0.8368 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/0.7796, allocations: 110.9 kB / 0.8369 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.7808, allocations: 0.8159 MB / 0.8377 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.597e-05/0.7809, allocations: 38.86 kB / 0.8377 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004611/0.7814, allocations: 476 kB / 0.8382 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.7815, allocations: 146.3 kB / 0.8383 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.7817, allocations: 124.8 kB / 0.8384 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.7819, allocations: 327.5 kB / 0.8387 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/0.7822, allocations: 174.1 kB / 0.8389 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005965/0.7828, allocations: 390.2 kB / 0.8393 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009006/0.7837, allocations: 0.5403 MB / 0.8398 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.7837, allocations: 2.219 kB / 0.8398 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00139/0.7851, allocations: 0.651 MB / 0.8404 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.7852, allocations: 7.969 kB / 0.8405 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.7852, allocations: 5.656 kB / 0.8405 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.7852, allocations: 11.81 kB / 0.8405 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/0.7856, allocations: 128.7 kB / 0.8406 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.7857, allocations: 8.312 kB / 0.8406 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006673/0.7863, allocations: 84.92 kB / 0.8407 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-05/0.7864, allocations: 46.52 kB / 0.8407 GB, free: 1.848 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.tap2.demPro.nextTimeEvent,$whenCondition2,$PRE.tap1.demPro.nextTimeEvent,$whenCondition1,tap2.demPro.nextTimeEventScaled,$PRE.tap2.demPro.nextTimeEventScaled,tap2.demPro.nextTimeEvent,tap2.DHWCom,tap1.demPro.nextTimeEventScaled,$PRE.tap1.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEvent,tap1.DHWCom) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * 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.0004409/0.7868, allocations: 264 kB / 0.841 GB, free: 1.641 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.787, allocations: 96.61 kB / 0.8411 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/0.789, allocations: 1.093 MB / 0.8421 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.163e-05/0.789, allocations: 20.02 kB / 0.8422 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.789, allocations: 0 / 0.8422 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.7891, allocations: 5.234 kB / 0.8422 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003115/0.7922, allocations: 1.955 MB / 0.8441 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.7922, allocations: 2.969 kB / 0.8441 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.7925, allocations: 87.33 kB / 0.8442 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.7925, allocations: 5.969 kB / 0.8442 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.33e-05/0.7925, allocations: 22.3 kB / 0.8442 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.7925, allocations: 5.469 kB / 0.8442 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.7925, allocations: 3.688 kB / 0.8442 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.7941, allocations: 0.9862 MB / 0.8452 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004491/0.7945, allocations: 278.1 kB / 0.8454 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.7947, allocations: 16.56 kB / 0.8454 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.7951, allocations: 36.75 kB / 0.8455 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.7952, allocations: 61.41 kB / 0.8455 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/0.7952, allocations: 34.72 kB / 0.8456 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000843/0.7961, allocations: 0.5522 MB / 0.8461 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.7961, allocations: 0 / 0.8461 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001207/0.7973, allocations: 353.6 kB / 0.8464 GB, free: 14.19 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,tap1.DHWCom,tap1.demPro.nextTimeEvent,tap1.demPro.nextTimeEventScaled,tap2.DHWCom,tap2.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled) * Number of discrete states: 4 (tap2.demPro.nextTimeEvent,tap1.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 49 * 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.002208/0.7995, allocations: 0.7807 MB / 0.8472 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001248/0.8008, allocations: 0.5718 MB / 0.8478 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.8008, allocations: 1.375 kB / 0.8478 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006065/0.8014, allocations: 351 kB / 0.8481 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/0.8033, allocations: 406.9 kB / 0.8485 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/0.8066, allocations: 1.768 MB / 0.8502 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007596/0.8073, allocations: 1.044 MB / 0.8512 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006697/0.808, allocations: 195 kB / 0.8514 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.8082, allocations: 95.33 kB / 0.8515 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of SimCode: time 7.61e-07/0.8082, allocations: 0 / 0.8515 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of Templates: time 0.0355/0.8437, allocations: 19.86 MB / 0.8709 GB, free: 7.203 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.sim & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.787874249741435] Failed to read output from testmodel.py, exit status != 0: 0.8526250319555402 0.866540506 0.100207633 Calling exit ...