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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 220.1 kB / 22.24 MB, free: 5.109 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.319/1.319, allocations: 203.8 MB / 0.5041 GB, free: 4.613 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 63.09 kB / 0.7186 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7157/0.7178, allocations: 102 MB / 0.8183 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01052/0.7283, allocations: 6.563 MB / 0.8247 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.1929/0.9213, allocations: 133.8 MB / 0.9553 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001752/0.923, allocations: 27.81 kB / 0.9554 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.9254, allocations: 420.7 kB / 0.9558 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003507/0.929, allocations: 0.7867 MB / 0.9565 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.9322, allocations: 1.15 MB / 0.9577 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003948/0.9361, allocations: 2.49 MB / 0.9601 GB, free: 164 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001471/0.9376, allocations: 0.7576 MB / 0.9608 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/0.9392, allocations: 0.9424 MB / 0.9618 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.9405, allocations: 0.8905 MB / 0.9626 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003677/0.9409, allocations: 268 kB / 0.9629 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.9423, allocations: 0.648 MB / 0.9635 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005312/0.9428, allocations: 0.5764 MB / 0.9641 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0009515/0.9438, allocations: 0.8789 MB / 0.9649 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004326/0.9481, allocations: 3.234 MB / 0.9681 GB, free: 7.898 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.9481, allocations: 0 / 0.9681 GB, free: 7.898 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9481, allocations: 3.938 kB / 0.9681 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.789e-05/0.9481, allocations: 0 / 0.9681 GB, free: 7.895 MB / 0.7481 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.005086/0.9532, allocations: 2.297 MB / 0.9703 GB, free: 5.559 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.9533, allocations: 9.469 kB / 0.9703 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01926/0.9725, allocations: 2.54 MB / 0.9728 GB, free: 3.008 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002953/0.9755, allocations: 1.132 MB / 0.9739 GB, free: 1.84 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.9756, allocations: 123.3 kB / 0.9741 GB, free: 1.719 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003226/0.9759, allocations: 163.9 kB / 0.9742 GB, free: 1.559 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.9866, allocations: 3.257 MB / 0.9774 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/0.9866, allocations: 0 / 0.9774 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002201/0.9868, allocations: 68 kB / 0.9775 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.568e-05/0.9869, allocations: 40 kB / 0.9775 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01587/1.003, allocations: 4.103 MB / 0.9815 GB, free: 9.965 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01772/1.02, allocations: 6.942 MB / 0.9883 GB, free: 2.34 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009343/1.03, allocations: 2.467 MB / 0.9907 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00673/1.037, allocations: 1.578 MB / 0.9922 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001686/1.037, allocations: 33.28 kB / 0.9923 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007733/1.044, allocations: 2.077 MB / 0.9943 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=139): time 4.399e-06/1.044, allocations: 4 kB / 0.9943 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=139): time 0.02227/1.067, allocations: 4.933 MB / 0.9991 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000282/1.067, allocations: 226.9 kB / 0.9993 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/1.069, allocations: 0.8597 MB / 1 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0003576/1.069, allocations: 57.69 kB / 1 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007864/1.07, allocations: 0.6732 MB / 1.001 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000697/1.07, allocations: 472 kB / 1.001 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006907/1.071, allocations: 278.7 kB / 1.002 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002689/1.071, allocations: 365.9 kB / 1.002 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007189/1.079, allocations: 1.533 MB / 1.003 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007326/1.086, allocations: 1.833 MB / 1.005 GB, free: 0.7578 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01335/1.099, allocations: 2.868 MB / 1.008 GB, free: 13.87 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/1.099, allocations: 0 / 1.008 GB, free: 13.87 MB / 0.795 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01577/1.115, allocations: 3.401 MB / 1.011 GB, free: 10.46 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.605e-05/1.115, allocations: 4 kB / 1.011 GB, free: 10.45 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/1.115, allocations: 0 / 1.011 GB, free: 10.45 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007966/1.116, allocations: 88.83 kB / 1.011 GB, free: 10.36 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004514/1.12, allocations: 0.6476 MB / 1.012 GB, free: 9.715 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00274/1.123, allocations: 1.526 MB / 1.014 GB, free: 8.086 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004453/1.128, allocations: 0.499 MB / 1.014 GB, free: 7.586 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002253/1.128, allocations: 67.92 kB / 1.014 GB, free: 7.52 MB / 0.795 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.001241/1.129, allocations: 404.2 kB / 1.015 GB, free: 7.117 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004054/1.129, allocations: 135.1 kB / 1.015 GB, free: 6.984 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01626/1.146, allocations: 3.829 MB / 1.018 GB, free: 3.141 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/1.146, allocations: 16 kB / 1.018 GB, free: 3.125 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/1.146, allocations: 0 / 1.018 GB, free: 3.125 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.339e-05/1.146, allocations: 7.969 kB / 1.018 GB, free: 3.117 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003916/1.15, allocations: 2.2 MB / 1.021 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/1.15, allocations: 0 / 1.021 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00407/1.154, allocations: 0.6243 MB / 1.021 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005923/1.154, allocations: 72.78 kB / 1.021 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002138/1.155, allocations: 47.94 kB / 1.021 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/1.157, allocations: 1.547 MB / 1.023 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.157, allocations: 0 / 1.023 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/1.172, allocations: 3.483 MB / 1.026 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/1.173, allocations: 410.5 kB / 1.027 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002889/1.174, allocations: 43.92 kB / 1.027 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00367/1.177, allocations: 455.6 kB / 1.027 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003002/1.178, allocations: 121.1 kB / 1.027 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/1.178, allocations: 71.88 kB / 1.027 GB, free: 9.586 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001055/1.179, allocations: 0.6219 MB / 1.028 GB, free: 8.953 MB / 0.8106 GB Notification: Performance of sort global known variables: time 8e-08/1.179, allocations: 0 / 1.028 GB, free: 8.953 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002014/1.181, allocations: 0.5571 MB / 1.028 GB, free: 8.395 MB / 0.8106 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.002334/1.183, allocations: 0.6577 MB / 1.029 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0156/1.199, allocations: 3.457 MB / 1.032 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.199, allocations: 0 / 1.032 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00799/1.207, allocations: 1.841 MB / 1.034 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/1.209, allocations: 366.6 kB / 1.035 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/1.221, allocations: 3.951 MB / 1.038 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008685/1.222, allocations: 0.7096 MB / 1.039 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002363/1.225, allocations: 437.8 kB / 1.04 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008337/1.226, allocations: 167.3 kB / 1.04 GB, free: 13 MB / 0.8262 GB Notification: Performance of SimCode: time 9.42e-07/1.226, allocations: 0 / 1.04 GB, free: 13 MB / 0.8262 GB Notification: Performance of Templates: time 0.55/1.776, allocations: 29.45 MB / 1.068 GB, free: 245.9 MB / 0.8419 GB " [Timeout remaining time 658] 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: 9.0731151830405] Failed to read output from testmodel.py, exit status != 0: 1.7856521252542734 1.797179838 0.846550357 Calling exit ...