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.001301/0.001301, allocations: 85.84 kB / 19.16 MB, free: 2.535 MB / 14.72 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.001492/0.001492, allocations: 168.7 kB / 22.44 MB, free: 5.34 MB / 14.72 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 1.354/1.354, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.158/1.158, allocations: 155 MB / 414.2 MB, free: 4.949 MB / 382.1 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 178] 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.002047/0.002047, allocations: 66.98 kB / 0.6191 GB, free: 4.207 MB / 0.5294 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.5581/0.5601, allocations: 102 MB / 0.7187 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001756/0.5619, allocations: 0.7403 MB / 0.7194 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.5631, allocations: 1.19 MB / 0.7206 GB, free: 460 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.5631, allocations: 1.312 kB / 0.7206 GB, free: 460 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.382e-05/0.5631, allocations: 4.781 kB / 0.7206 GB, free: 456 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.619e-05/0.5632, allocations: 15.62 kB / 0.7206 GB, free: 444 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004799/0.5637, allocations: 137.8 kB / 0.7207 GB, free: 372 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.5639, allocations: 125.3 kB / 0.7209 GB, free: 316 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.564, allocations: 21.38 kB / 0.7209 GB, free: 300 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.5641, allocations: 71.16 kB / 0.721 GB, free: 268 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.036e-05/0.5642, allocations: 50.95 kB / 0.721 GB, free: 244 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.5642, allocations: 10.84 kB / 0.721 GB, free: 244 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.092e-05/0.5643, allocations: 26.61 kB / 0.721 GB, free: 240 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.5643, allocations: 17.75 kB / 0.7211 GB, free: 228 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.422e-05/0.5644, allocations: 48.33 kB / 0.7211 GB, free: 200 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.5646, allocations: 148.3 kB / 0.7212 GB, free: 140 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5646, allocations: 0 / 0.7212 GB, free: 140 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5646, allocations: 3.938 kB / 0.7212 GB, free: 136 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.5646, allocations: 1.094 kB / 0.7212 GB, free: 136 kB / 0.6075 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.0005908/0.5652, allocations: 348 kB / 0.7216 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.5652, allocations: 11.75 kB / 0.7216 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.5653, allocations: 12.22 kB / 0.7216 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.5654, allocations: 115.9 kB / 0.7217 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.5655, allocations: 9.047 kB / 0.7217 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.5655, allocations: 13.05 kB / 0.7217 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.5657, allocations: 72.95 kB / 0.7218 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5657, allocations: 3.938 kB / 0.7218 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.5657, allocations: 0.7969 kB / 0.7218 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.5657, allocations: 1.125 kB / 0.7218 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.5659, allocations: 50.55 kB / 0.7219 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/0.5665, allocations: 264.6 kB / 0.7221 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.5667, allocations: 66.38 kB / 0.7222 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.5668, allocations: 28.39 kB / 0.7222 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.5668, allocations: 1.125 kB / 0.7222 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000239/0.5671, allocations: 89.39 kB / 0.7223 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.5671, allocations: 0 / 0.7223 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.000478/0.5675, allocations: 154.6 kB / 0.7224 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.5676, allocations: 55.16 kB / 0.7225 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.5677, allocations: 120.6 kB / 0.7226 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.5677, allocations: 35.89 kB / 0.7226 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.331e-05/0.5678, allocations: 91.47 kB / 0.7227 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.5678, allocations: 24.25 kB / 0.7227 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.332e-05/0.5679, allocations: 38.98 kB / 0.7228 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5681, allocations: 323.6 kB / 0.7231 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.5682, allocations: 78.44 kB / 0.7232 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.5685, allocations: 125.1 kB / 0.7233 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.5688, allocations: 149.3 kB / 0.7234 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.5688, allocations: 1 kB / 0.7234 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005179/0.5693, allocations: 252.4 kB / 0.7237 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/0.5693, allocations: 35.44 kB / 0.7237 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.5693, allocations: 5.406 kB / 0.7237 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.5694, allocations: 2.656 kB / 0.7237 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.5695, allocations: 22.47 kB / 0.7237 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.5695, allocations: 6.125 kB / 0.7237 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.5697, allocations: 35.52 kB / 0.7238 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.5697, allocations: 6.938 kB / 0.7238 GB, free: 14.08 MB / 0.6231 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 0.0001238/0.5698, allocations: 132 kB / 0.7239 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.5698, allocations: 8.219 kB / 0.7239 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000322/0.5702, allocations: 123 kB / 0.724 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.5702, allocations: 1.125 kB / 0.724 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5702, allocations: 4.812 kB / 0.724 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.5702, allocations: 2.031 kB / 0.724 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.5707, allocations: 328.3 kB / 0.7243 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5707, allocations: 0 / 0.7243 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.346e-05/0.5707, allocations: 8.938 kB / 0.7244 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.5707, allocations: 1.438 kB / 0.7244 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.5708, allocations: 1.984 kB / 0.7244 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.5708, allocations: 0.8438 kB / 0.7244 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5708, allocations: 1.594 kB / 0.7244 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004858/0.5712, allocations: 214.4 kB / 0.7246 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.5713, allocations: 10.75 kB / 0.7246 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.5713, allocations: 10.16 kB / 0.7246 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.5714, allocations: 6.609 kB / 0.7246 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.5714, allocations: 6.516 kB / 0.7246 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.5714, allocations: 2.375 kB / 0.7246 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.09e-05/0.5715, allocations: 99.31 kB / 0.7247 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.5715, allocations: 0 / 0.7247 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002888/0.5718, allocations: 21.89 kB / 0.7247 GB, free: 13.35 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001579/0.5719, allocations: 107.6 kB / 0.7248 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004734/0.5724, allocations: 193.1 kB / 0.725 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5724, allocations: 0 / 0.725 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.5726, allocations: 41.17 kB / 0.725 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.5728, allocations: 15.64 kB / 0.7251 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004384/0.5733, allocations: 179.3 kB / 0.7252 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.5734, allocations: 77.92 kB / 0.7253 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.324e-05/0.5734, allocations: 8.719 kB / 0.7253 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.5734, allocations: 16.69 kB / 0.7253 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of SimCode: time 2.71e-07/0.5734, allocations: 0.5312 kB / 0.7253 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of Templates: time 0.004701/0.5781, allocations: 1.567 MB / 0.7269 GB, free: 12.7 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.096505496650934] Failed to read output from testmodel.py, exit status != 0: 0.5870438925921917 0.6072587309999999 0.038474054 Calling exit ...