Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.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.0007518/0.0007518, 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.0007555/0.0007555, 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.9217/0.9217, allocations: 177.2 MB / 203.6 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.7644/0.7644, allocations: 154.9 MB / 414.9 MB, free: 0.5234 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") translateModel(IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") [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.0008794/0.0008794, allocations: 71.89 kB / 0.6198 GB, free: 11.71 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.5/0.5009, allocations: 102 MB / 0.7194 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.005244/0.5061, allocations: 4.775 MB / 0.7241 GB, free: 8.516 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003157/0.5093, allocations: 2.452 MB / 0.7265 GB, free: 6.055 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005252/0.5098, allocations: 43.69 kB / 0.7265 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.5101, allocations: 122.7 kB / 0.7266 GB, free: 5.891 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.5104, allocations: 118.8 kB / 0.7267 GB, free: 5.773 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008321/0.5112, allocations: 0.4971 MB / 0.7272 GB, free: 5.285 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009551/0.5122, allocations: 0.884 MB / 0.7281 GB, free: 4.402 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003872/0.5126, allocations: 286.9 kB / 0.7284 GB, free: 4.094 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004952/0.513, allocations: 0.4985 MB / 0.7288 GB, free: 3.594 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002993/0.5133, allocations: 310.2 kB / 0.7291 GB, free: 3.289 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.789e-05/0.5134, allocations: 84 kB / 0.7292 GB, free: 3.207 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.5137, allocations: 187.9 kB / 0.7294 GB, free: 3.023 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.5138, allocations: 175.3 kB / 0.7296 GB, free: 2.852 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.514, allocations: 298.5 kB / 0.7299 GB, free: 2.559 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008822/0.5149, allocations: 1.148 MB / 0.731 GB, free: 1.406 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5149, allocations: 0 / 0.731 GB, free: 1.406 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.665e-06/0.5149, allocations: 0 / 0.731 GB, free: 1.406 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.5149, allocations: 4 kB / 0.731 GB, free: 1.402 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001401/0.5163, allocations: 1.148 MB / 0.7321 GB, free: 208 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.5163, allocations: 13.41 kB / 0.7321 GB, free: 196 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.5165, allocations: 100.4 kB / 0.7322 GB, free: 96 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005023/0.517, allocations: 437.3 kB / 0.7326 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/0.5171, allocations: 49.69 kB / 0.7327 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-05/0.5171, allocations: 68.38 kB / 0.7327 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006679/0.5178, allocations: 0.658 MB / 0.7334 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.5178, allocations: 0 / 0.7334 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.5179, allocations: 24 kB / 0.7334 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.5179, allocations: 16 kB / 0.7334 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005367/0.5184, allocations: 436.9 kB / 0.7338 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002158/0.5206, allocations: 1.972 MB / 0.7358 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.5216, allocations: 0.6498 MB / 0.7364 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.5219, allocations: 226.7 kB / 0.7366 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.5219, allocations: 9.844 kB / 0.7366 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003168/0.5222, allocations: 270 kB / 0.7369 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 1.914e-06/0.5222, allocations: 0 / 0.7369 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.000732/0.5229, allocations: 0.5904 MB / 0.7375 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.523, allocations: 107.3 kB / 0.7376 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/0.5234, allocations: 473.9 kB / 0.738 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.5234, allocations: 53.56 kB / 0.7381 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.5236, allocations: 344.8 kB / 0.7384 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.717e-05/0.5237, allocations: 174.6 kB / 0.7386 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.5238, allocations: 134.3 kB / 0.7387 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.5239, allocations: 370.8 kB / 0.739 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.5242, allocations: 237.1 kB / 0.7393 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004056/0.5246, allocations: 0.5793 MB / 0.7398 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005243/0.5251, allocations: 0.5213 MB / 0.7403 GB, free: 7.348 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5251, allocations: 0 / 0.7403 GB, free: 7.348 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007019/0.5258, allocations: 0.7071 MB / 0.741 GB, free: 6.621 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.5259, allocations: 41.69 kB / 0.7411 GB, free: 6.574 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.5259, allocations: 4 kB / 0.7411 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.5259, allocations: 8 kB / 0.7411 GB, free: 6.562 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.5261, allocations: 104.3 kB / 0.7412 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.5261, allocations: 12 kB / 0.7412 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.5263, allocations: 107.5 kB / 0.7413 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.5264, allocations: 27.98 kB / 0.7413 GB, free: 6.316 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003172/0.5267, allocations: 351.1 kB / 0.7417 GB, free: 5.961 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004933/0.5272, allocations: 0.5558 MB / 0.7422 GB, free: 5.289 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004079/0.5276, allocations: 0.4902 MB / 0.7427 GB, free: 4.742 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.293e-06/0.5276, allocations: 0 / 0.7427 GB, free: 4.742 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.0006139/0.5282, allocations: 0.6528 MB / 0.7433 GB, free: 4.066 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.5282, allocations: 45.62 kB / 0.7434 GB, free: 4.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.5282, allocations: 4 kB / 0.7434 GB, free: 4.012 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-06/0.5282, allocations: 8 kB / 0.7434 GB, free: 4.004 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.5284, allocations: 95.83 kB / 0.7435 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.5284, allocations: 4 kB / 0.7435 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.5286, allocations: 107.7 kB / 0.7436 GB, free: 3.801 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.5287, allocations: 31.92 kB / 0.7436 GB, free: 3.77 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,occSch.tNext,$PRE.occSch.tNext,occSch.tNonOcc,$PRE.occSch.tNonOcc,occSch.tOcc,$PRE.occSch.tOcc,occSch.occupied,$PRE.occSch.occupied,optSta.falEdg.not_u,$PRE.optSta.falEdg.not_u,optSta.falEdg.y,optSta.hysSta.greHys.y,$PRE.optSta.hysSta.greHys.y,$whenCondition3,conPID.con1.y,conPID1.con1.y,optSta.con3.y,optSta.con.y,optSta.optOn,TRoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.5288, allocations: 237.8 kB / 0.7438 GB, free: 3.535 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.5288, allocations: 55.62 kB / 0.7439 GB, free: 3.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.728e-05/0.5289, allocations: 65.56 kB / 0.7439 GB, free: 3.418 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.5289, allocations: 0 / 0.7439 GB, free: 3.418 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5289, allocations: 4 kB / 0.7439 GB, free: 3.414 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.529, allocations: 59.55 kB / 0.744 GB, free: 3.355 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.529, allocations: 12 kB / 0.744 GB, free: 3.344 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.762e-05/0.5291, allocations: 27.97 kB / 0.744 GB, free: 3.316 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/0.5292, allocations: 48.3 kB / 0.7441 GB, free: 3.27 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005687/0.5297, allocations: 0.5246 MB / 0.7446 GB, free: 2.738 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007708/0.5305, allocations: 0.8356 MB / 0.7454 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000208/0.5307, allocations: 191.9 kB / 0.7456 GB, free: 1.695 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002176/0.5309, allocations: 314.9 kB / 0.7459 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of Backend: time 2.11e-07/0.5309, allocations: 0 / 0.7459 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001026/0.532, allocations: 0.9077 MB / 0.7468 GB, free: 448 kB / 0.6198 GB Notification: Performance of SimCode: time 0.001242/0.5332, allocations: 1.488 MB / 0.7482 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of Templates: time 0.01092/0.5441, allocations: 10.34 MB / 0.7583 GB, free: 4.758 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./IDEAS_dev_IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.483968257904053] Failed to read output from testmodel.py, exit status != 0: 0.5497221669647843 0.557879367 0.041267592000000006 Calling exit ...