Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.0008708/0.0008708, 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.001298/0.001298, 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.8946/0.8946, 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 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.7152/0.7152, allocations: 154.9 MB / 414.9 MB, free: 0.4922 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.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [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: 76.02 kB / 0.6198 GB, free: 12.79 MB / 0.5886 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.4927/0.4935, allocations: 102 MB / 0.7194 GB, free: 23.44 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001556/0.495, allocations: 0.6511 MB / 0.7201 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.496, allocations: 1.09 MB / 0.7211 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.732e-05/0.4961, allocations: 1.531 kB / 0.7211 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.4961, allocations: 4.453 kB / 0.7211 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.453e-05/0.4962, allocations: 6.016 kB / 0.7211 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.4965, allocations: 45.86 kB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.4966, allocations: 50.42 kB / 0.7212 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.4967, allocations: 12.91 kB / 0.7212 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.793e-05/0.4968, allocations: 23.52 kB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.371e-05/0.4969, allocations: 22.28 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.4969, allocations: 4.031 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.447e-05/0.497, allocations: 27.89 kB / 0.7213 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.53e-05/0.497, allocations: 8.156 kB / 0.7213 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.497, allocations: 19.17 kB / 0.7213 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.4972, allocations: 67.41 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.4972, allocations: 1.156 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4972, allocations: 4 kB / 0.7214 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.4972, allocations: 0 / 0.7214 GB, free: 22.1 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004606/0.4977, allocations: 291 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.4977, allocations: 11.34 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.304e-05/0.4978, allocations: 8.938 kB / 0.7217 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.707e-05/0.4979, allocations: 118.6 kB / 0.7218 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.4979, allocations: 7.391 kB / 0.7218 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.4979, allocations: 3.719 kB / 0.7218 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.4981, allocations: 65.33 kB / 0.7219 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.4981, allocations: 4.188 kB / 0.7219 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.4981, allocations: 5.656 kB / 0.7219 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4981, allocations: 0 / 0.7219 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.4982, allocations: 43.2 kB / 0.7219 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.4986, allocations: 217.9 kB / 0.7221 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.4987, allocations: 50.25 kB / 0.7222 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.4987, allocations: 39.33 kB / 0.7222 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.4987, allocations: 2.047 kB / 0.7222 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.4989, allocations: 75.16 kB / 0.7223 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.4989, allocations: 0 / 0.7223 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002798/0.4992, allocations: 117.2 kB / 0.7224 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.4992, allocations: 57.75 kB / 0.7225 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.588e-05/0.4992, allocations: 111 kB / 0.7226 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.4992, allocations: 30.73 kB / 0.7226 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.668e-05/0.4993, allocations: 90.69 kB / 0.7227 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.4993, allocations: 21.05 kB / 0.7227 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.4993, allocations: 22.83 kB / 0.7227 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.333e-05/0.4994, allocations: 322.5 kB / 0.723 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.846e-05/0.4994, allocations: 24.41 kB / 0.7231 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.4995, allocations: 53.36 kB / 0.7231 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.4996, allocations: 92.34 kB / 0.7232 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4996, allocations: 1.094 kB / 0.7232 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000155/0.4998, allocations: 110.5 kB / 0.7233 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.4998, allocations: 10.56 kB / 0.7233 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4998, allocations: 1 kB / 0.7233 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.4998, allocations: 2.312 kB / 0.7233 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.645e-05/0.4999, allocations: 18.91 kB / 0.7233 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.4999, allocations: 3.062 kB / 0.7233 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.69e-05/0.4999, allocations: 16.55 kB / 0.7234 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.4999, allocations: 2.688 kB / 0.7234 GB, free: 20.41 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (unitDelay1.u_internal,$PRE.unitDelay1.u_internal,unitDelay1.y,$PRE.unitDelay1.y,unitDelay1.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 4.863e-05/0.5, allocations: 115.7 kB / 0.7235 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.5, allocations: 7.234 kB / 0.7235 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.5002, allocations: 103.3 kB / 0.7236 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5002, allocations: 5.938 kB / 0.7236 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5002, allocations: 0 / 0.7236 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.268e-06/0.5002, allocations: 11.03 kB / 0.7236 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.5002, allocations: 1.062 kB / 0.7236 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.362e-05/0.5002, allocations: 11.03 kB / 0.7236 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.5002, allocations: 7.609 kB / 0.7236 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001494/0.5004, allocations: 184.2 kB / 0.7238 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000158/0.5006, allocations: 266.3 kB / 0.724 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.046e-05/0.5006, allocations: 34.42 kB / 0.7241 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.502e-05/0.5007, allocations: 82.11 kB / 0.7242 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of Backend: time 2.81e-07/0.5007, allocations: 0 / 0.7242 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004134/0.5011, allocations: 124.2 kB / 0.7243 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0004772/0.5015, allocations: 0.5936 MB / 0.7248 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of Templates: time 0.003613/0.5052, allocations: 1.015 MB / 0.7258 GB, free: 18.99 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.135848734062165] Failed to read output from testmodel.py, exit status != 0: 0.5113052299711853 0.525051863 0.025552878 Calling exit ...