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.001477/0.001477, allocations: 111.5 kB / 18.88 MB, free: 3.055 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.001643/0.001643, allocations: 190.4 kB / 22.17 MB, free: 5.203 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.379/1.379, 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.062/1.062, allocations: 175.8 MB / 481.9 MB, free: 7.707 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.00195/0.00195, allocations: 67.23 kB / 0.6705 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5187/0.5207, allocations: 94.53 MB / 0.7628 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.04493/0.5656, allocations: 44.42 MB / 0.8062 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0137/0.5793, allocations: 8.562 MB / 0.8145 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002646/0.5819, allocations: 44.25 kB / 0.8146 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001814/0.5838, allocations: 0.5317 MB / 0.8151 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004987/0.5887, allocations: 1.569 MB / 0.8166 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003507/0.5922, allocations: 1.22 MB / 0.8178 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004011/0.5963, allocations: 2.629 MB / 0.8204 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.5976, allocations: 0.7293 MB / 0.8211 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003322/0.6009, allocations: 1.466 MB / 0.8225 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/0.6023, allocations: 0.7383 MB / 0.8233 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.6024, allocations: 86.22 kB / 0.8233 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002263/0.6047, allocations: 0.9041 MB / 0.8242 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000302/0.605, allocations: 256 kB / 0.8245 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006723/0.6057, allocations: 0.5328 MB / 0.825 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003075/0.6088, allocations: 1.695 MB / 0.8266 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.6088, allocations: 0 / 0.8266 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.472e-06/0.6088, allocations: 0 / 0.8266 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.508e-05/0.6088, allocations: 1.094 kB / 0.8266 GB, free: 13.26 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.003256/0.6121, allocations: 1.403 MB / 0.828 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.6121, allocations: 9.312 kB / 0.828 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000327/0.6124, allocations: 125.2 kB / 0.8281 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.614, allocations: 0.8363 MB / 0.829 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.22e-05/0.6141, allocations: 53.94 kB / 0.829 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.6142, allocations: 66.56 kB / 0.8291 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.6155, allocations: 0.7891 MB / 0.8298 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.6156, allocations: 5.656 kB / 0.8298 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.46e-05/0.6156, allocations: 27.28 kB / 0.8299 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.6156, allocations: 17.03 kB / 0.8299 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009895/0.6166, allocations: 0.5152 MB / 0.8304 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00435/0.621, allocations: 3.82 MB / 0.8341 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007158/0.6217, allocations: 324 kB / 0.8344 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003572/0.6221, allocations: 197.6 kB / 0.8346 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/0.6232, allocations: 1.304 MB / 0.8359 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005291/0.6237, allocations: 266.1 kB / 0.8361 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.605e-06/0.6237, allocations: 1.875 kB / 0.8361 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of matching and sorting (n=41): time 0.001512/0.6252, allocations: 0.6465 MB / 0.8368 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.082e-05/0.6253, allocations: 111.5 kB / 0.8369 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.6264, allocations: 0.8123 MB / 0.8377 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.15e-05/0.6265, allocations: 42.3 kB / 0.8377 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004399/0.6269, allocations: 472.3 kB / 0.8382 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.6271, allocations: 146.6 kB / 0.8383 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.6273, allocations: 129.2 kB / 0.8384 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.6274, allocations: 326.5 kB / 0.8387 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.6278, allocations: 170.8 kB / 0.8389 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000616/0.6284, allocations: 397.4 kB / 0.8393 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009044/0.6293, allocations: 0.5338 MB / 0.8398 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.6293, allocations: 5.156 kB / 0.8398 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001426/0.6307, allocations: 0.651 MB / 0.8404 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.6307, allocations: 11.44 kB / 0.8405 GB, free: 1.934 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.6308, allocations: 6.312 kB / 0.8405 GB, free: 1.934 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.6308, allocations: 12.44 kB / 0.8405 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/0.6312, allocations: 124.1 kB / 0.8406 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.6312, allocations: 13.34 kB / 0.8406 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006457/0.6319, allocations: 79.42 kB / 0.8407 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.617e-05/0.632, allocations: 34.92 kB / 0.8407 GB, free: 1.836 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.0004703/0.6324, allocations: 278.8 kB / 0.841 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.6326, allocations: 97.17 kB / 0.8411 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.6346, allocations: 1.09 MB / 0.8421 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/0.6346, allocations: 12.06 kB / 0.8421 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.6346, allocations: 5.328 kB / 0.8422 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.6346, allocations: 0 / 0.8422 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003198/0.6378, allocations: 1.953 MB / 0.8441 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.6378, allocations: 8.359 kB / 0.8441 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.6381, allocations: 84.92 kB / 0.8442 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.6381, allocations: 5.688 kB / 0.8442 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/0.6382, allocations: 26.52 kB / 0.8442 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/0.6382, allocations: 8.594 kB / 0.8442 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.6382, allocations: 11.25 kB / 0.8442 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.6398, allocations: 0.9869 MB / 0.8452 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004854/0.6403, allocations: 270.4 kB / 0.8454 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.6404, allocations: 19.22 kB / 0.8454 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.6408, allocations: 33.59 kB / 0.8455 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.6409, allocations: 65.23 kB / 0.8455 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.088e-05/0.641, allocations: 29.95 kB / 0.8456 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008565/0.6418, allocations: 0.5571 MB / 0.8461 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6418, allocations: 0 / 0.8461 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001185/0.643, allocations: 353.1 kB / 0.8464 GB, free: 14.16 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.002246/0.6453, allocations: 0.781 MB / 0.8472 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001192/0.6465, allocations: 0.5681 MB / 0.8478 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.6465, allocations: 1.375 kB / 0.8478 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006088/0.6471, allocations: 351.5 kB / 0.8481 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/0.649, allocations: 405 kB / 0.8485 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/0.6521, allocations: 1.76 MB / 0.8502 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007306/0.6528, allocations: 1.051 MB / 0.8512 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006157/0.6534, allocations: 194.9 kB / 0.8514 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.6536, allocations: 95.39 kB / 0.8515 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of SimCode: time 6.72e-07/0.6536, allocations: 3.938 kB / 0.8515 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of Templates: time 0.05508/0.7087, allocations: 19.86 MB / 0.8709 GB, free: 7.125 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.565818737726659] Failed to read output from testmodel.py, exit status != 0: 0.7184057426638901 0.742848289 0.13029624999999995 Calling exit ...