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.001922/0.001922, allocations: 110.5 kB / 17.6 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.002661/0.002661, allocations: 186.8 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.579/1.579, allocations: 225.6 MB / 249.4 MB, free: 3.289 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.153/1.153, allocations: 175.7 MB / 480.2 MB, free: 2.766 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.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.001979/0.001979, allocations: 68.39 kB / 0.6684 GB, free: 10.55 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.254, allocations: 94.53 MB / 0.7607 GB, free: 272 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.0111/0.2651, allocations: 7.45 MB / 0.7679 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.7745/1.04, allocations: 152.4 MB / 0.9167 GB, free: 15.93 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/1.041, allocations: 23.69 kB / 0.9168 GB, free: 15.92 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001632/1.043, allocations: 426.5 kB / 0.9172 GB, free: 15.6 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002656/1.046, allocations: 0.7746 MB / 0.9179 GB, free: 15.01 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002891/1.048, allocations: 1.147 MB / 0.919 GB, free: 14.12 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003695/1.052, allocations: 2.462 MB / 0.9214 GB, free: 12.61 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/1.053, allocations: 0.7706 MB / 0.9222 GB, free: 12.03 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/1.055, allocations: 0.9147 MB / 0.9231 GB, free: 11.45 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/1.056, allocations: 0.9932 MB / 0.9241 GB, free: 10.73 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003286/1.056, allocations: 266.2 kB / 0.9243 GB, free: 10.73 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/1.058, allocations: 0.6441 MB / 0.9249 GB, free: 10.53 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005238/1.058, allocations: 0.5685 MB / 0.9255 GB, free: 10.05 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/1.059, allocations: 1.077 MB / 0.9266 GB, free: 9.246 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004996/1.064, allocations: 3.17 MB / 0.9296 GB, free: 6.867 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/1.064, allocations: 0 / 0.9296 GB, free: 6.867 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.633e-06/1.064, allocations: 4 kB / 0.9297 GB, free: 6.863 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.772e-05/1.064, allocations: 0 / 0.9297 GB, free: 6.863 MB / 0.67 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.005393/1.07, allocations: 2.346 MB / 0.9319 GB, free: 5.105 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/1.07, allocations: 8.156 kB / 0.932 GB, free: 5.105 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005843/1.076, allocations: 0.8838 MB / 0.9328 GB, free: 4.691 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002343/1.078, allocations: 1.136 MB / 0.9339 GB, free: 3.762 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/1.078, allocations: 121.3 kB / 0.934 GB, free: 3.707 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004333/1.079, allocations: 162.5 kB / 0.9342 GB, free: 3.652 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005944/1.085, allocations: 2.057 MB / 0.9362 GB, free: 2.402 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.566e-05/1.085, allocations: 0 / 0.9362 GB, free: 2.402 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001903/1.085, allocations: 71.58 kB / 0.9363 GB, free: 2.348 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/1.085, allocations: 38.12 kB / 0.9363 GB, free: 2.348 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00585/1.091, allocations: 2.453 MB / 0.9387 GB, free: 1.148 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/1.102, allocations: 5.925 MB / 0.9445 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004301/1.106, allocations: 1.614 MB / 0.9461 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002034/1.108, allocations: 0.7291 MB / 0.9468 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007697/1.109, allocations: 483.1 kB / 0.9472 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002716/1.111, allocations: 1.079 MB / 0.9483 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=139): time 3.116e-06/1.111, allocations: 4 kB / 0.9483 GB, free: 9.074 MB / 0.6856 GB Notification: Performance of matching and sorting (n=139): time 0.007937/1.119, allocations: 2.611 MB / 0.9508 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001806/1.119, allocations: 226.9 kB / 0.9511 GB, free: 6.164 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/1.121, allocations: 0.9404 MB / 0.952 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001831/1.121, allocations: 57.69 kB / 0.952 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007205/1.122, allocations: 0.6616 MB / 0.9527 GB, free: 4.469 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005667/1.123, allocations: 472 kB / 0.9531 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005739/1.123, allocations: 274.7 kB / 0.9534 GB, free: 3.73 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001957/1.123, allocations: 361.9 kB / 0.9537 GB, free: 3.371 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00211/1.125, allocations: 0.6897 MB / 0.9544 GB, free: 2.68 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/1.128, allocations: 0.8242 MB / 0.9552 GB, free: 1.836 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004069/1.132, allocations: 1.474 MB / 0.9567 GB, free: 352 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.132, allocations: 0 / 0.9567 GB, free: 352 kB / 0.6856 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005814/1.138, allocations: 1.844 MB / 0.9585 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/1.138, allocations: 8 kB / 0.9585 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.138, allocations: 3.938 kB / 0.9585 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006321/1.138, allocations: 96.75 kB / 0.9586 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/1.14, allocations: 339.5 kB / 0.9589 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002573/1.143, allocations: 1.64 MB / 0.9605 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/1.145, allocations: 212.8 kB / 0.9607 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002404/1.145, allocations: 63.94 kB / 0.9608 GB, free: 11.99 MB / 0.7012 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.001141/1.146, allocations: 408.3 kB / 0.9611 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006395/1.147, allocations: 139.1 kB / 0.9613 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00682/1.154, allocations: 2.214 MB / 0.9634 GB, free: 9.223 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/1.154, allocations: 16 kB / 0.9635 GB, free: 9.207 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/1.154, allocations: 7.938 kB / 0.9635 GB, free: 9.199 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/1.154, allocations: 7.969 kB / 0.9635 GB, free: 9.191 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003325/1.157, allocations: 1.801 MB / 0.9652 GB, free: 7.348 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/1.157, allocations: 0 / 0.9652 GB, free: 7.348 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001808/1.159, allocations: 319.5 kB / 0.9655 GB, free: 7.035 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005132/1.159, allocations: 72.78 kB / 0.9656 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001856/1.16, allocations: 47.95 kB / 0.9656 GB, free: 6.914 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002499/1.162, allocations: 1.682 MB / 0.9673 GB, free: 5.09 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.162, allocations: 0 / 0.9673 GB, free: 5.09 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005819/1.168, allocations: 1.93 MB / 0.9692 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009628/1.169, allocations: 443.6 kB / 0.9696 GB, free: 2.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004154/1.169, allocations: 39.92 kB / 0.9696 GB, free: 2.641 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/1.171, allocations: 143.9 kB / 0.9698 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003016/1.171, allocations: 125.1 kB / 0.9699 GB, free: 2.379 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/1.171, allocations: 55.95 kB / 0.9699 GB, free: 2.324 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001334/1.173, allocations: 0.6791 MB / 0.9706 GB, free: 1.637 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/1.173, allocations: 4 kB / 0.9706 GB, free: 1.633 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001832/1.175, allocations: 0.526 MB / 0.9711 GB, free: 1.105 MB / 0.7012 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.002387/1.177, allocations: 0.6496 MB / 0.9718 GB, free: 0.6367 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005526/1.182, allocations: 1.759 MB / 0.9735 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.182, allocations: 4.125 kB / 0.9735 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003099/1.186, allocations: 0.9743 MB / 0.9744 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/1.188, allocations: 395.2 kB / 0.9748 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007573/1.195, allocations: 3.099 MB / 0.9778 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/1.197, allocations: 1.284 MB / 0.9791 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002324/1.199, allocations: 402.4 kB / 0.9795 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007893/1.2, allocations: 175.2 kB / 0.9796 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of SimCode: time 1.833e-06/1.2, allocations: 0 / 0.9796 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of Templates: time 0.05787/1.258, allocations: 26 MB / 1.005 GB, free: 14.7 MB / 0.7481 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.35611458774656]