Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.0007775/0.0007775, 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.001277/0.001277, 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.9283/0.9283, allocations: 177.2 MB / 203.6 MB, free: 5.781 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.7281/0.7281, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [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.00156/0.00156, allocations: 67.91 kB / 0.6195 GB, free: 13.15 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.4837/0.4852, allocations: 102 MB / 0.7191 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001582/0.4868, allocations: 0.6702 MB / 0.7197 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.488, allocations: 1.103 MB / 0.7208 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.825e-05/0.488, allocations: 1.25 kB / 0.7208 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.451e-05/0.4881, allocations: 12.58 kB / 0.7208 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.39e-05/0.4881, allocations: 9.484 kB / 0.7208 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.4885, allocations: 50.36 kB / 0.7209 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.4886, allocations: 68.59 kB / 0.721 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.4887, allocations: 10.22 kB / 0.721 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.711e-05/0.4888, allocations: 42.11 kB / 0.721 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.914e-05/0.4888, allocations: 36.12 kB / 0.721 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.4888, allocations: 6.812 kB / 0.721 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.966e-05/0.4889, allocations: 17.69 kB / 0.7211 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.356e-05/0.4889, allocations: 14.19 kB / 0.7211 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.489, allocations: 34.5 kB / 0.7211 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.4892, allocations: 88.11 kB / 0.7212 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4892, allocations: 0 / 0.7212 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4892, allocations: 3.938 kB / 0.7212 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.4892, allocations: 0 / 0.7212 GB, free: 22.19 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000482/0.4897, allocations: 312.7 kB / 0.7215 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.4897, allocations: 8.688 kB / 0.7215 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.654e-05/0.4898, allocations: 10.72 kB / 0.7215 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.885e-05/0.4899, allocations: 110.3 kB / 0.7216 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.4899, allocations: 12 kB / 0.7216 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.4899, allocations: 5.844 kB / 0.7216 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.4901, allocations: 78.88 kB / 0.7217 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.4901, allocations: 192 / 0.7217 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.4901, allocations: 4.547 kB / 0.7217 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.4901, allocations: 2.766 kB / 0.7217 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.4902, allocations: 56.95 kB / 0.7218 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.4906, allocations: 250.1 kB / 0.722 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.4907, allocations: 72.55 kB / 0.7221 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.959e-05/0.4908, allocations: 42.48 kB / 0.7221 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.4908, allocations: 5.156 kB / 0.7221 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.491, allocations: 92.05 kB / 0.7222 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/0.491, allocations: 0 / 0.7222 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003574/0.4914, allocations: 176.4 kB / 0.7224 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.4914, allocations: 59.3 kB / 0.7224 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.119e-05/0.4915, allocations: 105.8 kB / 0.7225 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.4915, allocations: 32.83 kB / 0.7226 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.741e-05/0.4915, allocations: 82.94 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.4915, allocations: 28.02 kB / 0.7227 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.4916, allocations: 38.92 kB / 0.7227 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.4916, allocations: 320.4 kB / 0.723 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-05/0.4917, allocations: 39.41 kB / 0.7231 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.4918, allocations: 65.78 kB / 0.7231 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.492, allocations: 94.94 kB / 0.7232 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.492, allocations: 3.938 kB / 0.7232 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003004/0.4923, allocations: 145.9 kB / 0.7234 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.4924, allocations: 6.234 kB / 0.7234 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.4924, allocations: 1.094 kB / 0.7234 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4924, allocations: 1.438 kB / 0.7234 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.4925, allocations: 23.36 kB / 0.7234 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.4925, allocations: 7.047 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.4925, allocations: 20.27 kB / 0.7234 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.4926, allocations: 3.469 kB / 0.7234 GB, free: 20.42 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 6.657e-05/0.4926, allocations: 125.2 kB / 0.7235 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.4926, allocations: 15.38 kB / 0.7235 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.4929, allocations: 145 kB / 0.7237 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4929, allocations: 0 / 0.7237 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.4929, allocations: 0.5156 kB / 0.7237 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.4929, allocations: 4.156 kB / 0.7237 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.4929, allocations: 1.516 kB / 0.7237 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.162e-05/0.493, allocations: 13.72 kB / 0.7237 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.493, allocations: 14.66 kB / 0.7237 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000221/0.4932, allocations: 219.8 kB / 0.7239 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002041/0.4934, allocations: 312.9 kB / 0.7242 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.043e-05/0.4935, allocations: 49.42 kB / 0.7243 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.384e-05/0.4935, allocations: 82 kB / 0.7244 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of Backend: time 4.31e-07/0.4935, allocations: 0 / 0.7244 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000404/0.4939, allocations: 141.6 kB / 0.7245 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0004262/0.4944, allocations: 0.6025 MB / 0.7251 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of Templates: time 0.003686/0.4981, allocations: 1.289 MB / 0.7263 GB, free: 18.93 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.2071243489626795] Failed to read output from testmodel.py, exit status != 0: 0.5047726067714393 0.515022107 0.023841862000000002 Calling exit ...