Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001176/0.001176, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.001595/0.001595, allocations: 169.2 kB / 23.19 MB, free: 1.363 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.9437/0.9437, allocations: 177.2 MB / 203.6 MB, free: 5.648 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.7688/0.7688, allocations: 154.7 MB / 414.7 MB, free: 0.7383 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.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") translateModel(IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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.0008067/0.0008067, allocations: 69.81 kB / 0.6195 GB, free: 13.14 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.5317/0.5325, allocations: 101.9 MB / 0.7191 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.0056/0.5381, allocations: 4.774 MB / 0.7237 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005086/0.5432, allocations: 2.458 MB / 0.7261 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.5448, allocations: 41.34 kB / 0.7262 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000324/0.5451, allocations: 129.1 kB / 0.7263 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.5454, allocations: 116.7 kB / 0.7264 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.5467, allocations: 496.8 kB / 0.7269 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009087/0.5476, allocations: 0.8863 MB / 0.7278 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004366/0.5481, allocations: 292.9 kB / 0.728 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006169/0.5487, allocations: 0.4997 MB / 0.7285 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.5491, allocations: 304 kB / 0.7288 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.5492, allocations: 83.75 kB / 0.7289 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003844/0.5496, allocations: 184.2 kB / 0.7291 GB, free: 17.01 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.5497, allocations: 181.6 kB / 0.7292 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002627/0.55, allocations: 302.2 kB / 0.7295 GB, free: 16.69 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.5514, allocations: 1.145 MB / 0.7306 GB, free: 16.19 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5514, allocations: 0 / 0.7306 GB, free: 16.19 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.156e-06/0.5514, allocations: 5.188 kB / 0.7307 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.5514, allocations: 0 / 0.7307 GB, free: 16.18 MB / 0.6355 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.001591/0.553, allocations: 1.149 MB / 0.7318 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.5531, allocations: 9.062 kB / 0.7318 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/0.5533, allocations: 100.4 kB / 0.7319 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005971/0.5539, allocations: 433.3 kB / 0.7323 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.445e-05/0.5539, allocations: 49.75 kB / 0.7323 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.881e-05/0.554, allocations: 67.11 kB / 0.7324 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008989/0.5549, allocations: 0.6534 MB / 0.733 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.555, allocations: 5.25 kB / 0.733 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.555, allocations: 26.16 kB / 0.7331 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.555, allocations: 15.38 kB / 0.7331 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006199/0.5556, allocations: 432.1 kB / 0.7335 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.5578, allocations: 1.975 MB / 0.7354 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.559, allocations: 0.6471 MB / 0.7361 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.5593, allocations: 225.9 kB / 0.7363 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.673e-05/0.5594, allocations: 6.125 kB / 0.7363 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003856/0.5598, allocations: 268.8 kB / 0.7365 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=51): time 3.196e-06/0.5598, allocations: 0 / 0.7365 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=51): time 0.000976/0.5607, allocations: 0.59 MB / 0.7371 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.5608, allocations: 116.1 kB / 0.7372 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004998/0.5613, allocations: 471.7 kB / 0.7377 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.846e-05/0.5613, allocations: 43.08 kB / 0.7377 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.5615, allocations: 351.1 kB / 0.738 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.694e-05/0.5616, allocations: 169.9 kB / 0.7382 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.5618, allocations: 132.4 kB / 0.7383 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.5619, allocations: 370.5 kB / 0.7387 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/0.5622, allocations: 236.4 kB / 0.7389 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/0.5626, allocations: 0.5868 MB / 0.7395 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.5632, allocations: 0.5182 MB / 0.74 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5632, allocations: 1.594 kB / 0.74 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009138/0.5641, allocations: 0.7126 MB / 0.7407 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.595e-05/0.5642, allocations: 37.02 kB / 0.7407 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/0.5642, allocations: 4.641 kB / 0.7407 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.5642, allocations: 7.156 kB / 0.7407 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.5645, allocations: 108 kB / 0.7408 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.135e-05/0.5645, allocations: 12.48 kB / 0.7409 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/0.5649, allocations: 106.4 kB / 0.741 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/0.5649, allocations: 27.08 kB / 0.741 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004119/0.5653, allocations: 349.6 kB / 0.7413 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003629/0.5657, allocations: 0.556 MB / 0.7419 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005082/0.5662, allocations: 497.5 kB / 0.7423 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.767e-06/0.5662, allocations: 1.188 kB / 0.7423 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.0008019/0.567, allocations: 0.6585 MB / 0.743 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.5671, allocations: 39.02 kB / 0.743 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.5671, allocations: 6.188 kB / 0.743 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.5671, allocations: 6.469 kB / 0.743 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.5673, allocations: 94.42 kB / 0.7431 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.5673, allocations: 12.16 kB / 0.7431 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/0.5676, allocations: 109.4 kB / 0.7432 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.5677, allocations: 28.88 kB / 0.7433 GB, free: 8.414 MB / 0.6355 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.0001991/0.5679, allocations: 237.1 kB / 0.7435 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.469e-05/0.5679, allocations: 58.67 kB / 0.7435 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.39e-05/0.568, allocations: 61.11 kB / 0.7436 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.568, allocations: 6.766 kB / 0.7436 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.568, allocations: 0 / 0.7436 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.612e-05/0.5681, allocations: 56.95 kB / 0.7437 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.5681, allocations: 12.39 kB / 0.7437 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.5683, allocations: 29.98 kB / 0.7437 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.5684, allocations: 42.19 kB / 0.7437 GB, free: 8.059 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007044/0.5691, allocations: 0.5246 MB / 0.7443 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009407/0.57, allocations: 0.8385 MB / 0.7451 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002676/0.5703, allocations: 191.3 kB / 0.7453 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003387/0.5706, allocations: 310.2 kB / 0.7455 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of Backend: time 5.11e-07/0.5706, allocations: 1.469 kB / 0.7456 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001572/0.5722, allocations: 0.9083 MB / 0.7464 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of SimCode: time 0.001589/0.5738, allocations: 1.487 MB / 0.7479 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of Templates: time 0.01638/0.5902, allocations: 10.33 MB / 0.758 GB, free: 2.449 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./IDEAS_IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.664794994983822] Failed to read output from testmodel.py, exit status != 0: 0.5978266200982034 0.612898351 0.058319850000000006 Calling exit ...