Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.0007365/0.0007365, allocations: 84.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.0007736/0.0007736, allocations: 169.2 kB / 23.19 MB, free: 1.375 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.904/0.904, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.7309/0.7309, allocations: 154.9 MB / 414.9 MB, free: 0.5273 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.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [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.0009488/0.0009488, allocations: 73.45 kB / 0.6198 GB, free: 12.8 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.4668/0.4678, allocations: 102 MB / 0.7194 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001448/0.4692, allocations: 0.727 MB / 0.7201 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.4703, allocations: 1.188 MB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.326e-05/0.4704, allocations: 5.594 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.208e-05/0.4704, allocations: 4.688 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.591e-05/0.4704, allocations: 11.23 kB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.4709, allocations: 140.4 kB / 0.7214 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000162/0.471, allocations: 128.9 kB / 0.7216 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.4712, allocations: 16.53 kB / 0.7216 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.4713, allocations: 68.47 kB / 0.7216 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.633e-05/0.4714, allocations: 53.81 kB / 0.7217 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.4714, allocations: 10.69 kB / 0.7217 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.385e-05/0.4714, allocations: 23.48 kB / 0.7217 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.4715, allocations: 18.22 kB / 0.7217 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.73e-05/0.4715, allocations: 39.72 kB / 0.7218 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.4717, allocations: 160.7 kB / 0.7219 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.4717, allocations: 0 / 0.7219 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4717, allocations: 0 / 0.7219 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.4717, allocations: 1.625 kB / 0.7219 GB, free: 21.87 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004622/0.4722, allocations: 348.1 kB / 0.7223 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4722, allocations: 13.5 kB / 0.7223 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.77e-05/0.4723, allocations: 12.98 kB / 0.7223 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.122e-05/0.4724, allocations: 112.2 kB / 0.7224 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.4724, allocations: 8.531 kB / 0.7224 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.4724, allocations: 8.672 kB / 0.7224 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.4726, allocations: 76.58 kB / 0.7225 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.4726, allocations: 3.938 kB / 0.7225 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.4726, allocations: 2.188 kB / 0.7225 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4726, allocations: 1.062 kB / 0.7225 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.4727, allocations: 49.81 kB / 0.7225 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.4731, allocations: 265.1 kB / 0.7228 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.4732, allocations: 62.48 kB / 0.7229 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.737e-05/0.4733, allocations: 27.92 kB / 0.7229 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.4733, allocations: 1.125 kB / 0.7229 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.4736, allocations: 96.88 kB / 0.723 GB, free: 21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.813e-06/0.4736, allocations: 0 / 0.723 GB, free: 21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003951/0.474, allocations: 146.8 kB / 0.7231 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.474, allocations: 55.11 kB / 0.7232 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.419e-05/0.4741, allocations: 125.6 kB / 0.7233 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.4741, allocations: 31.92 kB / 0.7233 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.4741, allocations: 91.28 kB / 0.7234 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.4742, allocations: 31.19 kB / 0.7234 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-05/0.4742, allocations: 39.62 kB / 0.7235 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.151e-05/0.4743, allocations: 324.2 kB / 0.7238 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.4744, allocations: 80.88 kB / 0.7239 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.4745, allocations: 121.7 kB / 0.724 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.4747, allocations: 154.7 kB / 0.7241 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4747, allocations: 0 / 0.7241 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003477/0.4751, allocations: 248.3 kB / 0.7244 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.4751, allocations: 37.72 kB / 0.7244 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.4751, allocations: 1.312 kB / 0.7244 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.4751, allocations: 11.33 kB / 0.7244 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.821e-05/0.4752, allocations: 22 kB / 0.7244 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.4752, allocations: 2.688 kB / 0.7244 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.4754, allocations: 29.94 kB / 0.7245 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.4754, allocations: 8.812 kB / 0.7245 GB, free: 19.82 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 5.917e-05/0.4754, allocations: 127.8 kB / 0.7246 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-06/0.4754, allocations: 11.61 kB / 0.7246 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.4756, allocations: 127.5 kB / 0.7247 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4756, allocations: 1 kB / 0.7247 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.4756, allocations: 0.9844 kB / 0.7247 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.4756, allocations: 10.27 kB / 0.7247 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.4757, allocations: 2.328 kB / 0.7247 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.546e-05/0.4757, allocations: 15.61 kB / 0.7248 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.4757, allocations: 5.094 kB / 0.7248 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001733/0.4759, allocations: 196.8 kB / 0.7249 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001675/0.4761, allocations: 292 kB / 0.7252 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.98e-05/0.4762, allocations: 36.72 kB / 0.7253 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.72e-05/0.4762, allocations: 92.09 kB / 0.7253 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of Backend: time 1.2e-07/0.4762, allocations: 0 / 0.7253 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004268/0.4766, allocations: 251.8 kB / 0.7256 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003891/0.477, allocations: 0.6236 MB / 0.7262 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of Templates: time 0.003642/0.4806, allocations: 1.787 MB / 0.7279 GB, free: 18.16 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.213054085150361] Failed to read output from testmodel.py, exit status != 0: 0.4861627649515867 0.49507976600000003 0.021308239 Calling exit ...