Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.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.0008483/0.0008483, 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.001305/0.001305, 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.9234/0.9234, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.7316/0.7316, allocations: 154.7 MB / 414.7 MB, free: 0.7695 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.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") [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.0009527/0.0009527, allocations: 76.56 kB / 0.6196 GB, free: 13.06 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.4909/0.4919, allocations: 101.9 MB / 0.7192 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.002947/0.4948, allocations: 2.366 MB / 0.7215 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002062/0.4969, allocations: 1.651 MB / 0.7231 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.497, allocations: 13.5 kB / 0.7231 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005869/0.4976, allocations: 336.9 kB / 0.7234 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0005948/0.4982, allocations: 417.4 kB / 0.7238 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.4987, allocations: 288 kB / 0.7241 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006516/0.4993, allocations: 0.7733 MB / 0.7248 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.4995, allocations: 49.53 kB / 0.7249 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004558/0.4999, allocations: 450.7 kB / 0.7253 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003421/0.5003, allocations: 348 kB / 0.7257 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.127e-05/0.5003, allocations: 37.41 kB / 0.7257 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.5005, allocations: 91.25 kB / 0.7258 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.5007, allocations: 213.2 kB / 0.726 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.5008, allocations: 208.3 kB / 0.7262 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0007459/0.5016, allocations: 0.8291 MB / 0.727 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.5016, allocations: 0.7969 kB / 0.727 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5016, allocations: 4 kB / 0.727 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.5016, allocations: 0 / 0.727 GB, free: 19.21 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001096/0.5027, allocations: 0.9807 MB / 0.7279 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.5027, allocations: 9.062 kB / 0.728 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.607e-05/0.5028, allocations: 83.61 kB / 0.728 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006606/0.5035, allocations: 0.5826 MB / 0.7286 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.5035, allocations: 15.3 kB / 0.7286 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.5036, allocations: 17.94 kB / 0.7286 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.5039, allocations: 213.3 kB / 0.7288 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.5039, allocations: 3.938 kB / 0.7288 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.5039, allocations: 3.438 kB / 0.7288 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.5039, allocations: 3.188 kB / 0.7289 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.5041, allocations: 110.4 kB / 0.729 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009359/0.505, allocations: 0.9716 MB / 0.7299 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.5054, allocations: 280.1 kB / 0.7302 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.5055, allocations: 107.4 kB / 0.7303 GB, free: 16.97 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.5055, allocations: 3.312 kB / 0.7303 GB, free: 16.97 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002962/0.5058, allocations: 236.6 kB / 0.7305 GB, free: 16.83 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 2.184e-06/0.5058, allocations: 1.344 kB / 0.7305 GB, free: 16.83 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.0006502/0.5065, allocations: 455.8 kB / 0.7309 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.5065, allocations: 161.8 kB / 0.7311 GB, free: 16.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.5075, allocations: 1.081 MB / 0.7321 GB, free: 16.06 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.5076, allocations: 33.02 kB / 0.7322 GB, free: 16.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.5077, allocations: 315.5 kB / 0.7325 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.404e-05/0.5078, allocations: 76.84 kB / 0.7326 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.5079, allocations: 111.2 kB / 0.7327 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.86e-05/0.5079, allocations: 328.3 kB / 0.733 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.5081, allocations: 173.4 kB / 0.7331 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.5084, allocations: 267.8 kB / 0.7334 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.5088, allocations: 385 kB / 0.7338 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5088, allocations: 1.25 kB / 0.7338 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006612/0.5094, allocations: 0.5867 MB / 0.7343 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.5095, allocations: 6.578 kB / 0.7343 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.5095, allocations: 2.312 kB / 0.7343 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.5095, allocations: 5.766 kB / 0.7343 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.5097, allocations: 99.58 kB / 0.7344 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.5097, allocations: 6.234 kB / 0.7345 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.5099, allocations: 50.7 kB / 0.7345 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.5099, allocations: 26.16 kB / 0.7345 GB, free: 14.62 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002096/0.5101, allocations: 281 kB / 0.7348 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.457e-05/0.5102, allocations: 83.91 kB / 0.7349 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005246/0.5107, allocations: 403.4 kB / 0.7353 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.5107, allocations: 2.953 kB / 0.7353 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.5107, allocations: 1.344 kB / 0.7353 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.816e-05/0.5108, allocations: 97.16 kB / 0.7354 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/0.5109, allocations: 11.53 kB / 0.7354 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.379e-05/0.511, allocations: 21.17 kB / 0.7354 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.5111, allocations: 25.83 kB / 0.7354 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004417/0.5115, allocations: 0.7183 MB / 0.7361 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004938/0.512, allocations: 0.8576 MB / 0.7369 GB, free: 13 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001523/0.5122, allocations: 109 kB / 0.7371 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006701/0.5128, allocations: 0.681 MB / 0.7377 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of Backend: time 7.01e-07/0.5128, allocations: 0 / 0.7377 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001799/0.5146, allocations: 0.8494 MB / 0.7385 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of SimCode: time 0.001686/0.5163, allocations: 1.701 MB / 0.7402 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of Templates: time 0.01483/0.5311, allocations: 9.044 MB / 0.749 GB, free: 9.727 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.45533646713011] Failed to read output from testmodel.py, exit status != 0: 0.5375980148091912 0.549023849 0.044584718 Calling exit ...