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.001342/0.001342, 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.001354/0.001354, allocations: 199.5 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.371/1.371, 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.073/1.073, allocations: 175.8 MB / 481.9 MB, free: 7.746 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.002011/0.002011, allocations: 68.36 kB / 0.6705 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5849/0.5869, allocations: 94.52 MB / 0.7628 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.008423/0.5954, allocations: 7.451 MB / 0.7701 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1892/0.7846, allocations: 152.4 MB / 0.9189 GB, free: 6.547 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001964/0.7866, allocations: 19.94 kB / 0.9189 GB, free: 6.527 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.00185/0.7884, allocations: 437.2 kB / 0.9193 GB, free: 6.098 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003534/0.792, allocations: 0.7665 MB / 0.9201 GB, free: 5.332 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003156/0.7951, allocations: 1.152 MB / 0.9212 GB, free: 4.188 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004427/0.7995, allocations: 2.463 MB / 0.9236 GB, free: 1.715 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/0.8011, allocations: 0.7725 MB / 0.9244 GB, free: 0.8945 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.8027, allocations: 0.9074 MB / 0.9252 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.804, allocations: 0.9946 MB / 0.9262 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003354/0.8044, allocations: 264 kB / 0.9265 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.8057, allocations: 0.6441 MB / 0.9271 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005477/0.8063, allocations: 0.5725 MB / 0.9277 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.8074, allocations: 1.085 MB / 0.9287 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003861/0.8112, allocations: 3.164 MB / 0.9318 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.8112, allocations: 3.938 kB / 0.9318 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8112, allocations: 0 / 0.9318 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.664e-05/0.8113, allocations: 0 / 0.9318 GB, free: 9.242 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.004876/0.8162, allocations: 2.337 MB / 0.9341 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.8162, allocations: 12.03 kB / 0.9341 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006039/0.8222, allocations: 0.8813 MB / 0.935 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/0.8243, allocations: 1.141 MB / 0.9361 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.8244, allocations: 119.3 kB / 0.9362 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000259/0.8247, allocations: 160 kB / 0.9363 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004669/0.8293, allocations: 2.063 MB / 0.9384 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/0.8294, allocations: 0 / 0.9384 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001812/0.8295, allocations: 75.98 kB / 0.9384 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.8296, allocations: 36 kB / 0.9385 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00611/0.8357, allocations: 2.452 MB / 0.9409 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01026/0.8459, allocations: 5.922 MB / 0.9466 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004396/0.8503, allocations: 1.619 MB / 0.9482 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00198/0.8523, allocations: 0.7329 MB / 0.9489 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007359/0.8531, allocations: 490.7 kB / 0.9494 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002553/0.8556, allocations: 1.078 MB / 0.9505 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=139): time 2.685e-06/0.8556, allocations: 0 / 0.9505 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of matching and sorting (n=139): time 0.00808/0.8637, allocations: 2.615 MB / 0.953 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001816/0.8639, allocations: 230.8 kB / 0.9532 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/0.8657, allocations: 0.9443 MB / 0.9542 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001504/0.8658, allocations: 53.7 kB / 0.9542 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007374/0.8666, allocations: 0.6694 MB / 0.9549 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004599/0.867, allocations: 472 kB / 0.9553 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005993/0.8676, allocations: 274.7 kB / 0.9556 GB, free: 276 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002185/0.8679, allocations: 349.9 kB / 0.9559 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/0.87, allocations: 0.6936 MB / 0.9566 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/0.8722, allocations: 0.832 MB / 0.9574 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004245/0.8765, allocations: 1.459 MB / 0.9588 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.8765, allocations: 0 / 0.9588 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005702/0.8822, allocations: 1.848 MB / 0.9606 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.8822, allocations: 11.94 kB / 0.9606 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.8822, allocations: 0 / 0.9606 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006154/0.8828, allocations: 88.83 kB / 0.9607 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/0.8847, allocations: 339.5 kB / 0.9611 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/0.8872, allocations: 1.647 MB / 0.9627 GB, free: 8.816 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.8891, allocations: 207.1 kB / 0.9629 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/0.8893, allocations: 63.94 kB / 0.9629 GB, free: 8.551 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.001178/0.8905, allocations: 415.6 kB / 0.9633 GB, free: 8.141 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004597/0.8909, allocations: 139.1 kB / 0.9634 GB, free: 8.004 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006518/0.8975, allocations: 2.214 MB / 0.9656 GB, free: 5.773 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.8975, allocations: 16 kB / 0.9656 GB, free: 5.758 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.8975, allocations: 0 / 0.9656 GB, free: 5.758 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.558e-05/0.8975, allocations: 7.969 kB / 0.9656 GB, free: 5.75 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/0.9003, allocations: 1.797 MB / 0.9674 GB, free: 3.906 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/0.9003, allocations: 0 / 0.9674 GB, free: 3.906 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/0.9021, allocations: 315.6 kB / 0.9677 GB, free: 3.598 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004706/0.9026, allocations: 72.78 kB / 0.9678 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001507/0.9027, allocations: 55.83 kB / 0.9678 GB, free: 3.469 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/0.9049, allocations: 1.674 MB / 0.9694 GB, free: 1.648 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.9049, allocations: 0 / 0.9694 GB, free: 1.648 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005595/0.9105, allocations: 1.93 MB / 0.9713 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008643/0.9113, allocations: 443.6 kB / 0.9718 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003287/0.9117, allocations: 39.92 kB / 0.9718 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/0.9133, allocations: 143.8 kB / 0.9719 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002605/0.9136, allocations: 121.1 kB / 0.972 GB, free: 14.94 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/0.9137, allocations: 59.94 kB / 0.9721 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001173/0.9149, allocations: 0.683 MB / 0.9728 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9149, allocations: 0 / 0.9728 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001776/0.9167, allocations: 0.5298 MB / 0.9733 GB, free: 13.66 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.002249/0.9189, allocations: 0.6472 MB / 0.9739 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005183/0.9241, allocations: 1.755 MB / 0.9756 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.9241, allocations: 0 / 0.9756 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002654/0.9267, allocations: 0.9821 MB / 0.9766 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.9286, allocations: 392.8 kB / 0.977 GB, free: 10.08 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00706/0.9357, allocations: 3.107 MB / 0.98 GB, free: 6.938 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/0.9369, allocations: 1.284 MB / 0.9813 GB, free: 5.621 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002058/0.939, allocations: 398.4 kB / 0.9816 GB, free: 5.227 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007468/0.9397, allocations: 175.3 kB / 0.9818 GB, free: 5.055 MB / 0.7637 GB Notification: Performance of SimCode: time 1.282e-06/0.9397, allocations: 0 / 0.9818 GB, free: 5.055 MB / 0.7637 GB Notification: Performance of Templates: time 0.04856/0.9883, allocations: 26 MB / 1.007 GB, free: 11.27 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.233461674302816] Failed to read output from testmodel.py, exit status != 0: 0.9974504760466516 1.013339028 0.198242743 Calling exit ...