Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008555/0.0008555, allocations: 80.44 kB / 19.91 MB, free: 4 kB / 13.93 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.0008479/0.0008479, allocations: 169.2 kB / 23.19 MB, free: 1.371 MB / 18.57 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 0.8638/0.8638, allocations: 177.2 MB / 203.6 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.6935/0.6935, allocations: 154.7 MB / 414.7 MB, free: 0.7617 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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.0009004/0.0009004, allocations: 67.91 kB / 0.6195 GB, free: 13.16 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4098, allocations: 102 MB / 0.7191 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005918/0.4158, allocations: 6.557 MB / 0.7255 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.1353/0.551, allocations: 133.8 MB / 0.8562 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.5524, allocations: 27.81 kB / 0.8562 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.5536, allocations: 428.6 kB / 0.8566 GB, free: 4.855 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.5553, allocations: 0.7897 MB / 0.8574 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.5573, allocations: 1.152 MB / 0.8585 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002057/0.5593, allocations: 2.486 MB / 0.861 GB, free: 436 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008725/0.5602, allocations: 0.7471 MB / 0.8617 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.5615, allocations: 1.461 MB / 0.8631 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008338/0.5623, allocations: 0.8867 MB / 0.864 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.000288/0.5626, allocations: 271.9 kB / 0.8642 GB, free: 13 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.5637, allocations: 0.6516 MB / 0.8649 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003494/0.564, allocations: 0.5726 MB / 0.8654 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0007677/0.5648, allocations: 0.8789 MB / 0.8663 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002586/0.5674, allocations: 3.519 MB / 0.8697 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5674, allocations: 0 / 0.8697 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5674, allocations: 0 / 0.8697 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.192e-05/0.5675, allocations: 0 / 0.8697 GB, free: 7.363 MB / 0.7448 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.00305/0.5705, allocations: 2.305 MB / 0.872 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.5706, allocations: 12.02 kB / 0.872 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003673/0.5742, allocations: 0.9984 MB / 0.873 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.5756, allocations: 1.085 MB / 0.874 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.742e-05/0.5757, allocations: 127.2 kB / 0.8742 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.5759, allocations: 156 kB / 0.8743 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002835/0.5787, allocations: 2.343 MB / 0.8766 GB, free: 148 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.5787, allocations: 0 / 0.8766 GB, free: 148 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.5789, allocations: 68 kB / 0.8767 GB, free: 80 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.5789, allocations: 40 kB / 0.8767 GB, free: 40 kB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003337/0.5822, allocations: 2.397 MB / 0.879 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005279/0.5875, allocations: 4.407 MB / 0.8833 GB, free: 9.168 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/0.59, allocations: 1.61 MB / 0.8849 GB, free: 7.555 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/0.591, allocations: 0.7305 MB / 0.8856 GB, free: 6.824 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002762/0.5913, allocations: 93.27 kB / 0.8857 GB, free: 6.734 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001481/0.5928, allocations: 1.183 MB / 0.8869 GB, free: 5.504 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=139): time 2.906e-06/0.5928, allocations: 3.938 kB / 0.8869 GB, free: 5.5 MB / 0.7605 GB Notification: Performance of matching and sorting (n=139): time 0.004487/0.5973, allocations: 2.521 MB / 0.8893 GB, free: 2.973 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/0.5974, allocations: 222.9 kB / 0.8895 GB, free: 2.707 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007605/0.5981, allocations: 0.8598 MB / 0.8904 GB, free: 1.82 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.9e-05/0.5982, allocations: 57.7 kB / 0.8904 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003408/0.5985, allocations: 0.6732 MB / 0.8911 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/0.5988, allocations: 468 kB / 0.8915 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003108/0.5991, allocations: 274.7 kB / 0.8918 GB, free: 344 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.5992, allocations: 361.8 kB / 0.8922 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.6003, allocations: 0.6897 MB / 0.8928 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.6016, allocations: 0.9787 MB / 0.8938 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002185/0.6038, allocations: 1.463 MB / 0.8952 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.6038, allocations: 0 / 0.8952 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002846/0.6066, allocations: 1.84 MB / 0.897 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.6066, allocations: 4 kB / 0.897 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6066, allocations: 4 kB / 0.897 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00031/0.6069, allocations: 92.81 kB / 0.8971 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009149/0.6079, allocations: 343.5 kB / 0.8974 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.6091, allocations: 1.52 MB / 0.8989 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007579/0.6099, allocations: 192.8 kB / 0.8991 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.651e-05/0.61, allocations: 71.88 kB / 0.8992 GB, free: 8.602 MB / 0.7761 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.0004687/0.6105, allocations: 405.9 kB / 0.8996 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.6106, allocations: 139.1 kB / 0.8997 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003421/0.614, allocations: 2.202 MB / 0.9018 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.6141, allocations: 11.92 kB / 0.9019 GB, free: 5.832 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6141, allocations: 3.938 kB / 0.9019 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000472/0.6145, allocations: 362.6 kB / 0.9022 GB, free: 5.473 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.6147, allocations: 39.88 kB / 0.9022 GB, free: 5.434 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006893/0.6154, allocations: 139.8 kB / 0.9024 GB, free: 5.297 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.6155, allocations: 125.1 kB / 0.9025 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003091/0.6186, allocations: 1.982 MB / 0.9044 GB, free: 3.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004021/0.6227, allocations: 3.007 MB / 0.9074 GB, free: 164 kB / 0.7761 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001178/0.6238, allocations: 0.8027 MB / 0.9081 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0005634/0.6244, allocations: 0.6218 MB / 0.9088 GB, free: 14.72 MB / 0.7917 GB Notification: Performance of Backend: time 3.41e-07/0.6244, allocations: 0 / 0.9088 GB, free: 14.72 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003277/0.6277, allocations: 1.832 MB / 0.9105 GB, free: 13.19 MB / 0.7917 GB Notification: Performance of SimCode: time 0.003236/0.6309, allocations: 3.129 MB / 0.9136 GB, free: 10.03 MB / 0.7917 GB Notification: Performance of Templates: time 0.02877/0.6597, allocations: 30.65 MB / 0.9435 GB, free: 11.76 MB / 0.823 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.708967173937708] Failed to read output from testmodel.py, exit status != 0: 0.6665025169495493 0.673747997 0.10467939400000001 Calling exit ...