Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.001378/0.001378, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001411/0.001411, allocations: 192.8 kB / 22.17 MB, free: 5.66 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.378/1.378, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.05/1.05, allocations: 175.8 MB / 481.9 MB, free: 7.703 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.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 65.47 kB / 0.6705 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4867/0.4887, allocations: 94.52 MB / 0.7628 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.007848/0.4965, allocations: 7.447 MB / 0.7701 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1861/0.6826, allocations: 152.4 MB / 0.9189 GB, free: 6.523 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001957/0.6846, allocations: 15.94 kB / 0.9189 GB, free: 6.508 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001798/0.6864, allocations: 441.2 kB / 0.9193 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002975/0.6893, allocations: 0.7667 MB / 0.9201 GB, free: 5.309 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002858/0.6922, allocations: 1.158 MB / 0.9212 GB, free: 4.16 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003856/0.6961, allocations: 2.452 MB / 0.9236 GB, free: 1.699 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.6974, allocations: 0.7764 MB / 0.9244 GB, free: 0.875 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.6988, allocations: 0.915 MB / 0.9253 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/0.7002, allocations: 0.9882 MB / 0.9262 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003319/0.7005, allocations: 268 kB / 0.9265 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.7017, allocations: 0.6441 MB / 0.9271 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004864/0.7022, allocations: 0.5647 MB / 0.9277 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.7032, allocations: 1.085 MB / 0.9287 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003736/0.707, allocations: 3.168 MB / 0.9318 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.707, allocations: 4 kB / 0.9318 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.707, allocations: 0 / 0.9318 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.304e-05/0.707, allocations: 0 / 0.9318 GB, free: 9.219 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.004826/0.7119, allocations: 2.345 MB / 0.9341 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.7119, allocations: 8.031 kB / 0.9341 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006203/0.7181, allocations: 0.8774 MB / 0.935 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002309/0.7204, allocations: 1.137 MB / 0.9361 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.7205, allocations: 123.3 kB / 0.9362 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002585/0.7208, allocations: 160.8 kB / 0.9363 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004807/0.7256, allocations: 2.06 MB / 0.9384 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.7256, allocations: 4 kB / 0.9384 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001869/0.7258, allocations: 64 kB / 0.9384 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.7258, allocations: 40 kB / 0.9385 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006258/0.7321, allocations: 2.456 MB / 0.9409 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0111/0.7432, allocations: 5.93 MB / 0.9466 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004582/0.7478, allocations: 1.612 MB / 0.9482 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002058/0.7498, allocations: 0.7307 MB / 0.9489 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007458/0.7506, allocations: 494.7 kB / 0.9494 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002613/0.7532, allocations: 1.074 MB / 0.9505 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=139): time 3.577e-06/0.7532, allocations: 0 / 0.9505 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of matching and sorting (n=139): time 0.008042/0.7612, allocations: 2.611 MB / 0.953 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/0.7614, allocations: 222.9 kB / 0.9532 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.7629, allocations: 0.9559 MB / 0.9542 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001802/0.763, allocations: 57.64 kB / 0.9542 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006193/0.7637, allocations: 0.6616 MB / 0.9549 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004544/0.7641, allocations: 471.9 kB / 0.9553 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004798/0.7646, allocations: 270.8 kB / 0.9556 GB, free: 260 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.7648, allocations: 361.9 kB / 0.9559 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/0.7668, allocations: 0.6858 MB / 0.9566 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002261/0.7691, allocations: 0.8281 MB / 0.9574 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004152/0.7732, allocations: 1.467 MB / 0.9588 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.7732, allocations: 4 kB / 0.9588 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005536/0.7788, allocations: 1.844 MB / 0.9606 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/0.7788, allocations: 16 kB / 0.9606 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.7788, allocations: 0 / 0.9606 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006229/0.7795, allocations: 76.78 kB / 0.9607 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/0.7813, allocations: 347.5 kB / 0.961 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/0.7839, allocations: 1.656 MB / 0.9627 GB, free: 8.785 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/0.786, allocations: 207.1 kB / 0.9629 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.7862, allocations: 63.94 kB / 0.9629 GB, free: 8.52 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,pumCon.hys.y,$PRE.pumCon.hys.y,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.tNext,$PRE.pumCon.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009991/0.7872, allocations: 412 kB / 0.9633 GB, free: 8.109 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003576/0.7875, allocations: 139.1 kB / 0.9634 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006158/0.7937, allocations: 2.218 MB / 0.9656 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.7937, allocations: 16 kB / 0.9656 GB, free: 5.723 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.7937, allocations: 0 / 0.9656 GB, free: 5.723 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/0.7937, allocations: 7.969 kB / 0.9656 GB, free: 5.715 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/0.7963, allocations: 1.793 MB / 0.9674 GB, free: 3.875 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.7963, allocations: 0 / 0.9674 GB, free: 3.875 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/0.798, allocations: 311.6 kB / 0.9677 GB, free: 3.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004707/0.7985, allocations: 76.78 kB / 0.9678 GB, free: 3.492 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/0.7986, allocations: 51.89 kB / 0.9678 GB, free: 3.441 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/0.8007, allocations: 1.678 MB / 0.9694 GB, free: 1.617 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8007, allocations: 0 / 0.9694 GB, free: 1.617 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005543/0.8063, allocations: 1.93 MB / 0.9713 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008614/0.8072, allocations: 443.6 kB / 0.9718 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002727/0.8074, allocations: 35.94 kB / 0.9718 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/0.809, allocations: 147.8 kB / 0.9719 GB, free: 15.03 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002512/0.8092, allocations: 117.1 kB / 0.972 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/0.8094, allocations: 59.95 kB / 0.9721 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009974/0.8103, allocations: 0.6829 MB / 0.9728 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of sort global known variables: time 9e-08/0.8103, allocations: 0 / 0.9728 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001417/0.8118, allocations: 0.5299 MB / 0.9733 GB, free: 13.63 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,pumCon.hys.y,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 8 (pumCon.hys.y,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002048/0.8138, allocations: 0.6456 MB / 0.9739 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005201/0.819, allocations: 1.755 MB / 0.9756 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.819, allocations: 0 / 0.9756 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002694/0.8217, allocations: 0.9782 MB / 0.9766 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/0.8236, allocations: 411.2 kB / 0.977 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006332/0.8299, allocations: 3.107 MB / 0.98 GB, free: 6.902 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009555/0.8308, allocations: 1.272 MB / 0.9812 GB, free: 5.598 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001746/0.8326, allocations: 406.4 kB / 0.9816 GB, free: 5.195 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005813/0.8332, allocations: 163.3 kB / 0.9818 GB, free: 5.035 MB / 0.7637 GB Notification: Performance of SimCode: time 7.41e-07/0.8332, allocations: 0 / 0.9818 GB, free: 5.035 MB / 0.7637 GB Notification: Performance of Templates: time 0.04667/0.8798, allocations: 26.01 MB / 1.007 GB, free: 11.25 MB / 0.795 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.131946281064302] Failed to read output from testmodel.py, exit status != 0: 0.8892793641425669 0.903366355 0.19322903100000002 Calling exit ...