Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TrueDelay.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.0008727/0.0008727, 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.001087/0.001087, 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.924/0.924, allocations: 177.2 MB / 203.6 MB, free: 5.758 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.7245/0.7245, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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.Logical.Validation.TrueDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TrueDelay") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.TrueDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TrueDelay") [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.0009978/0.0009978, allocations: 63.89 kB / 0.6196 GB, free: 13.12 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.5056/0.5066, allocations: 101.9 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TrueDelay): time 0.002854/0.5094, allocations: 1.09 MB / 0.7202 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002197/0.5116, allocations: 1.667 MB / 0.7218 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002403/0.5119, allocations: 3.5 kB / 0.7218 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 6.609e-05/0.5119, allocations: 30.75 kB / 0.7219 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.5121, allocations: 57.09 kB / 0.7219 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.5135, allocations: 446.4 kB / 0.7223 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009333/0.5144, allocations: 0.7509 MB / 0.7231 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.5146, allocations: 66.08 kB / 0.7231 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006934/0.5153, allocations: 463.4 kB / 0.7236 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004263/0.5157, allocations: 284.5 kB / 0.7238 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.5159, allocations: 74.56 kB / 0.7239 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.5161, allocations: 83.66 kB / 0.724 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.5162, allocations: 166.7 kB / 0.7242 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002791/0.5165, allocations: 268.6 kB / 0.7244 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.5175, allocations: 0.7631 MB / 0.7252 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5175, allocations: 4.516 kB / 0.7252 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.465e-06/0.5175, allocations: 0 / 0.7252 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.384e-05/0.5175, allocations: 1.031 kB / 0.7252 GB, free: 20.22 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001714/0.5193, allocations: 0.8254 MB / 0.726 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.5193, allocations: 8.641 kB / 0.726 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001954/0.5195, allocations: 79.11 kB / 0.7261 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007389/0.5202, allocations: 325.3 kB / 0.7264 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.481e-05/0.5203, allocations: 51.69 kB / 0.7264 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.5204, allocations: 84.89 kB / 0.7265 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007203/0.5212, allocations: 450.7 kB / 0.7269 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.5212, allocations: 6.031 kB / 0.7269 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-05/0.5212, allocations: 24.34 kB / 0.727 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.5212, allocations: 5.438 kB / 0.727 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003716/0.5216, allocations: 220.6 kB / 0.7272 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.5228, allocations: 0.816 MB / 0.728 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007216/0.5235, allocations: 0.4944 MB / 0.7284 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003427/0.5239, allocations: 248.1 kB / 0.7287 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.5239, allocations: 5.531 kB / 0.7287 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.5249, allocations: 0.7399 MB / 0.7294 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=102): time 5.21e-06/0.5249, allocations: 0 / 0.7294 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=102): time 0.001876/0.5268, allocations: 1.513 MB / 0.7309 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.5268, allocations: 99.09 kB / 0.731 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.5271, allocations: 268.9 kB / 0.7312 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.278e-05/0.5271, allocations: 68.06 kB / 0.7313 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/0.5272, allocations: 148.1 kB / 0.7314 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.5273, allocations: 221.5 kB / 0.7317 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.5275, allocations: 231.1 kB / 0.7319 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.5276, allocations: 370.3 kB / 0.7322 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003892/0.528, allocations: 290.3 kB / 0.7325 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005695/0.5286, allocations: 0.7354 MB / 0.7332 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009335/0.5295, allocations: 0.9795 MB / 0.7342 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/0.5295, allocations: 7.906 kB / 0.7342 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001411/0.531, allocations: 1.105 MB / 0.7353 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.492e-05/0.531, allocations: 69.33 kB / 0.7353 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/0.531, allocations: 16.11 kB / 0.7354 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.132e-05/0.5311, allocations: 21.47 kB / 0.7354 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.5314, allocations: 133.3 kB / 0.7355 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.179e-05/0.5314, allocations: 33.23 kB / 0.7355 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/0.5319, allocations: 146.6 kB / 0.7357 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.353e-05/0.532, allocations: 66.02 kB / 0.7357 GB, free: 14.23 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 136 ($PRE.onDelay0.u,$PRE.onDelay1.u,$PRE.onDelay2.u,$PRE.onDelay4.u,$PRE.onDelay5.u,$PRE.onDelay6.u,$PRE.onDelay3.u,$PRE.onDelay7.u,$PRE.onDelay00.u,$PRE.onDelay11.u,$PRE.onDelay22.u,$PRE.onDelay44.u,$PRE.onDelay55.u,$PRE.onDelay66.u,$PRE.onDelay33.u,$PRE.onDelay77.u,$PRE.onDelay0.t_next,$whenCondition50,$PRE.onDelay1.t_next,$whenCondition47,$PRE.onDelay2.t_next,$whenCondition44,$PRE.onDelay4.t_next,$whenCondition41,$PRE.onDelay5.t_next,$whenCondition38,$PRE.onDelay6.t_next,$whenCondition35,$PRE.onDelay3.t_next,$whenCondition32,$PRE.onDelay7.t_next,$whenCondition29,$whenCondition27,$whenCondition28,onDelay0.t_next,onDelay1.t_next,onDelay2.t_next,onDelay4.t_next,onDelay5.t_next,onDelay6.t_next,onDelay3.t_next,onDelay7.t_next,booPul.y,$PRE.booPul.y,onDelay7.y,onDelay7.u,onDelay3.y,onDelay3.u,onDelay6.y,onDelay6.u,onDelay5.y,onDelay5.u,onDelay4.y,onDelay4.u,onDelay2.y,onDelay2.u,onDelay1.y,onDelay1.u,onDelay0.y,onDelay0.u,$whenCondition31,$whenCondition30,$whenCondition34,$whenCondition33,$whenCondition37,$whenCondition36,$whenCondition40,$whenCondition39,$whenCondition43,$whenCondition42,$whenCondition46,$whenCondition45,$whenCondition49,$whenCondition48,$whenCondition52,$whenCondition51,$PRE.onDelay00.t_next,$whenCondition24,$PRE.onDelay11.t_next,$whenCondition21,$PRE.onDelay22.t_next,$whenCondition18,$PRE.onDelay44.t_next,$whenCondition15,$PRE.onDelay55.t_next,$whenCondition12,$PRE.onDelay66.t_next,$whenCondition9,$PRE.onDelay33.t_next,$whenCondition6,$PRE.onDelay77.t_next,$whenCondition3,$whenCondition1,$whenCondition2,onDelay00.t_next,onDelay11.t_next,onDelay11.y,onDelay22.t_next,onDelay22.y,onDelay44.t_next,booPul1.y,$PRE.booPul1.y,onDelay77.u,onDelay33.u,onDelay66.u,onDelay55.u,onDelay44.y,onDelay44.u,onDelay22.u,onDelay11.u,onDelay00.y,onDelay00.u,$whenCondition5,$whenCondition4,$whenCondition8,$whenCondition7,$whenCondition11,$whenCondition10,$whenCondition14,$whenCondition13,$whenCondition17,$whenCondition16,$whenCondition20,$whenCondition19,$whenCondition23,$whenCondition22,$whenCondition26,$whenCondition25,onDelay55.t_next,onDelay55.y,onDelay66.t_next,onDelay66.y,onDelay33.t_next,onDelay33.y,onDelay77.t_next,onDelay77.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 2 * 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.0002884/0.5323, allocations: 276.7 kB / 0.736 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.377e-05/0.5324, allocations: 79.56 kB / 0.7361 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.244e-05/0.5325, allocations: 51.11 kB / 0.7361 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.5325, allocations: 5.391 kB / 0.7361 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5325, allocations: 5.125 kB / 0.7361 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.5325, allocations: 52.19 kB / 0.7362 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.074e-05/0.5326, allocations: 38.03 kB / 0.7362 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.5328, allocations: 60.36 kB / 0.7363 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002029/0.533, allocations: 96.06 kB / 0.7364 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0015/0.5345, allocations: 1.369 MB / 0.7377 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001627/0.5361, allocations: 1.496 MB / 0.7392 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004995/0.5366, allocations: 358.1 kB / 0.7395 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001184/0.5367, allocations: 165.4 kB / 0.7397 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of Backend: time 4.2e-07/0.5367, allocations: 0 / 0.7397 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.5379, allocations: 0.7558 MB / 0.7404 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of SimCode: time 0.001099/0.539, allocations: 1.104 MB / 0.7415 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of Templates: time 0.01497/0.554, allocations: 8.588 MB / 0.7499 GB, free: 9.066 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TrueDelay.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TrueDelay.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TrueDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.473326484905556] Failed to read output from testmodel.py, exit status != 0: 0.5612581288442016 0.572302593 0.051801946 Calling exit ...