Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.0007484/0.0007484, allocations: 76.45 kB / 19.91 MB, free: 16 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.0007843/0.0007843, allocations: 165.9 kB / 23.18 MB, free: 1.387 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.8397/0.8397, allocations: 177.2 MB / 203.6 MB, free: 5.75 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: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 0.6994/0.6994, allocations: 155 MB / 414.9 MB, free: 0.4961 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.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [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.0009802/0.0009802, allocations: 67.89 kB / 0.62 GB, free: 12.68 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.444/0.4449, allocations: 102 MB / 0.7195 GB, free: 23.44 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001609/0.4465, allocations: 0.8479 MB / 0.7204 GB, free: 22.9 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.4478, allocations: 1.193 MB / 0.7215 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.622e-05/0.4478, allocations: 5.375 kB / 0.7215 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.656e-05/0.4479, allocations: 9.094 kB / 0.7215 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.703e-05/0.4479, allocations: 27.45 kB / 0.7216 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.4484, allocations: 150.1 kB / 0.7217 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.4486, allocations: 166.8 kB / 0.7219 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.4488, allocations: 27.25 kB / 0.7219 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.4489, allocations: 99.41 kB / 0.722 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.449, allocations: 59.12 kB / 0.7221 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.449, allocations: 15.72 kB / 0.7221 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.07e-05/0.4491, allocations: 30.41 kB / 0.7221 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.065e-05/0.4491, allocations: 22.27 kB / 0.7221 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.492e-05/0.4492, allocations: 61.23 kB / 0.7222 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.4494, allocations: 199.1 kB / 0.7224 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4495, allocations: 1.094 kB / 0.7224 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4495, allocations: 0 / 0.7224 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.4495, allocations: 0 / 0.7224 GB, free: 21.64 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005436/0.45, allocations: 424.7 kB / 0.7228 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.45, allocations: 10.12 kB / 0.7228 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.329e-05/0.4501, allocations: 18.78 kB / 0.7228 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.4504, allocations: 183.9 kB / 0.723 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.4505, allocations: 10.19 kB / 0.723 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.4505, allocations: 9.469 kB / 0.723 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.4506, allocations: 95.05 kB / 0.7231 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.4507, allocations: 7.938 kB / 0.7231 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.4507, allocations: 5.984 kB / 0.7231 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.4507, allocations: 2.688 kB / 0.7231 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.925e-05/0.4508, allocations: 50.19 kB / 0.7232 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.4513, allocations: 311.6 kB / 0.7234 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.822e-05/0.4513, allocations: 31.91 kB / 0.7235 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/0.4514, allocations: 26.09 kB / 0.7235 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.4514, allocations: 1.25 kB / 0.7235 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.4516, allocations: 113.2 kB / 0.7236 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/0.4516, allocations: 1.094 kB / 0.7236 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002957/0.4519, allocations: 133.9 kB / 0.7237 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.4519, allocations: 54.22 kB / 0.7238 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/0.452, allocations: 146.8 kB / 0.7239 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.4521, allocations: 33.08 kB / 0.724 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.4521, allocations: 106.5 kB / 0.7241 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.4521, allocations: 30.05 kB / 0.7241 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/0.4522, allocations: 56.09 kB / 0.7241 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.607e-05/0.4522, allocations: 321.3 kB / 0.7245 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.4523, allocations: 82.03 kB / 0.7245 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.4524, allocations: 165.9 kB / 0.7247 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.4526, allocations: 199.1 kB / 0.7249 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4526, allocations: 1.5 kB / 0.7249 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003/0.4529, allocations: 285.9 kB / 0.7252 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.4529, allocations: 34.38 kB / 0.7252 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.4529, allocations: 2.781 kB / 0.7252 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.453, allocations: 8.828 kB / 0.7252 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.408e-05/0.453, allocations: 23.62 kB / 0.7252 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.453, allocations: 12.17 kB / 0.7252 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.4532, allocations: 47.66 kB / 0.7253 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.4532, allocations: 12.56 kB / 0.7253 GB, free: 19.32 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 7.521e-05/0.4533, allocations: 128.9 kB / 0.7254 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.4533, allocations: 9.281 kB / 0.7254 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.4533, allocations: 12.77 kB / 0.7254 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4533, allocations: 1.672 kB / 0.7254 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4533, allocations: 0 / 0.7254 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4533, allocations: 9.562 kB / 0.7254 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/0.4537, allocations: 326.6 kB / 0.7258 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.4537, allocations: 0 / 0.7258 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.206e-05/0.4538, allocations: 16.17 kB / 0.7258 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.4538, allocations: 1.641 kB / 0.7258 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.4538, allocations: 6.188 kB / 0.7258 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.4538, allocations: 5.375 kB / 0.7258 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4538, allocations: 0 / 0.7258 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.454, allocations: 242.5 kB / 0.726 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.454, allocations: 15.89 kB / 0.726 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.454, allocations: 6.328 kB / 0.726 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.652e-05/0.4541, allocations: 10.88 kB / 0.726 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.4541, allocations: 6.688 kB / 0.7261 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.4542, allocations: 9.578 kB / 0.7261 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.358e-05/0.4542, allocations: 109.6 kB / 0.7262 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4542, allocations: 1.688 kB / 0.7262 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000206/0.4544, allocations: 31.75 kB / 0.7262 GB, free: 18.62 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001351/0.4545, allocations: 105.3 kB / 0.7263 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002688/0.4548, allocations: 199.9 kB / 0.7265 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4548, allocations: 0.75 kB / 0.7265 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.972e-05/0.4549, allocations: 42.2 kB / 0.7265 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.4551, allocations: 16.06 kB / 0.7265 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.4555, allocations: 299.9 kB / 0.7268 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.182e-05/0.4556, allocations: 91.5 kB / 0.7269 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.4556, allocations: 16.83 kB / 0.7269 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of SimCode: time 3.91e-07/0.4556, allocations: 4 kB / 0.7269 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of Templates: time 0.003413/0.459, allocations: 1.782 MB / 0.7287 GB, free: 17.91 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.467409051954746] Failed to read output from testmodel.py, exit status != 0: 0.4646872079465538 0.474643707 0.023028493 Calling exit ...