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.001287/0.001287, allocations: 82.48 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.001436/0.001436, allocations: 171.9 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.443/1.443, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.17/1.17, allocations: 155 MB / 414.2 MB, free: 4.926 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.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.002069/0.002069, allocations: 72.52 kB / 0.6192 GB, free: 4.074 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.5602/0.5623, allocations: 102 MB / 0.7188 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002192/0.5645, allocations: 0.8461 MB / 0.7196 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.5658, allocations: 1.201 MB / 0.7208 GB, free: 360 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.5659, allocations: 1.406 kB / 0.7208 GB, free: 360 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.43e-05/0.5659, allocations: 9.469 kB / 0.7208 GB, free: 352 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.088e-05/0.566, allocations: 15.44 kB / 0.7208 GB, free: 340 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000478/0.5665, allocations: 157 kB / 0.721 GB, free: 256 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.5666, allocations: 165.6 kB / 0.7211 GB, free: 180 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.5667, allocations: 36.27 kB / 0.7212 GB, free: 160 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.5669, allocations: 103.6 kB / 0.7213 GB, free: 108 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.567, allocations: 62.69 kB / 0.7213 GB, free: 80 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.567, allocations: 14.97 kB / 0.7213 GB, free: 80 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.39e-05/0.5671, allocations: 23.42 kB / 0.7214 GB, free: 80 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.176e-05/0.5671, allocations: 29.67 kB / 0.7214 GB, free: 60 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.679e-05/0.5672, allocations: 58.22 kB / 0.7214 GB, free: 28 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.5675, allocations: 195 kB / 0.7216 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5675, allocations: 0 / 0.7216 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.003e-06/0.5675, allocations: 1.062 kB / 0.7216 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.5675, allocations: 0 / 0.7216 GB, free: 15.95 MB / 0.6231 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.0007093/0.5682, allocations: 420.7 kB / 0.722 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.5682, allocations: 11.17 kB / 0.722 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.5683, allocations: 17.09 kB / 0.7221 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005177/0.5688, allocations: 186.8 kB / 0.7222 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.5688, allocations: 9.344 kB / 0.7222 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.171e-05/0.5689, allocations: 14.91 kB / 0.7223 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.5691, allocations: 95.2 kB / 0.7224 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.5691, allocations: 3.938 kB / 0.7224 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.5691, allocations: 2.016 kB / 0.7224 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.5691, allocations: 1.812 kB / 0.7224 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.5693, allocations: 54.69 kB / 0.7224 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006487/0.57, allocations: 303.4 kB / 0.7227 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.5701, allocations: 40.86 kB / 0.7227 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.075e-05/0.5702, allocations: 25.53 kB / 0.7228 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.5702, allocations: 5.25 kB / 0.7228 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.5704, allocations: 93.22 kB / 0.7229 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.5704, allocations: 0 / 0.7229 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.0004385/0.5709, allocations: 135.2 kB / 0.723 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.5709, allocations: 61.25 kB / 0.723 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.5711, allocations: 150.9 kB / 0.7232 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.5711, allocations: 29.12 kB / 0.7232 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.735e-05/0.5712, allocations: 114.3 kB / 0.7233 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.5712, allocations: 29.84 kB / 0.7234 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.943e-05/0.5713, allocations: 52.88 kB / 0.7234 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5714, allocations: 321 kB / 0.7237 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.5716, allocations: 78.75 kB / 0.7238 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.5719, allocations: 160.3 kB / 0.7239 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.5722, allocations: 209.5 kB / 0.7241 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5722, allocations: 2.125 kB / 0.7241 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000545/0.5727, allocations: 273.3 kB / 0.7244 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.5728, allocations: 41.75 kB / 0.7244 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.5728, allocations: 3.031 kB / 0.7244 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.5728, allocations: 3.844 kB / 0.7244 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.5729, allocations: 30.89 kB / 0.7245 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.573, allocations: 5.531 kB / 0.7245 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.5732, allocations: 43.48 kB / 0.7245 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.5732, allocations: 11.86 kB / 0.7245 GB, free: 13.64 MB / 0.6231 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 0.0001212/0.5734, allocations: 132.6 kB / 0.7247 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.5734, allocations: 9.828 kB / 0.7247 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.784e-05/0.5734, allocations: 16.12 kB / 0.7247 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.5734, allocations: 2.203 kB / 0.7247 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.5734, allocations: 0.5 kB / 0.7247 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.5734, allocations: 5.047 kB / 0.7247 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005849/0.574, allocations: 334 kB / 0.725 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.574, allocations: 0 / 0.725 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.989e-05/0.5741, allocations: 17 kB / 0.725 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.5741, allocations: 5.625 kB / 0.725 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.5741, allocations: 2.25 kB / 0.725 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.5741, allocations: 4.469 kB / 0.725 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5741, allocations: 4.484 kB / 0.725 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004862/0.5746, allocations: 243.8 kB / 0.7253 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/0.5746, allocations: 11.92 kB / 0.7253 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.5747, allocations: 2.406 kB / 0.7253 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.674e-05/0.5748, allocations: 18.36 kB / 0.7253 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.5748, allocations: 7.203 kB / 0.7253 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.5748, allocations: 4.922 kB / 0.7253 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.679e-05/0.5749, allocations: 106.5 kB / 0.7254 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5749, allocations: 3.938 kB / 0.7254 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003093/0.5752, allocations: 33.25 kB / 0.7255 GB, free: 12.93 MB / 0.6231 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.0001518/0.5754, allocations: 103.8 kB / 0.7256 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004284/0.5758, allocations: 201.7 kB / 0.7257 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5758, allocations: 0 / 0.7257 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.5759, allocations: 37.3 kB / 0.7258 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.5762, allocations: 24.59 kB / 0.7258 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005177/0.5767, allocations: 261.6 kB / 0.7261 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.048e-05/0.5768, allocations: 96.56 kB / 0.7261 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.109e-05/0.5769, allocations: 15.81 kB / 0.7262 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.5769, allocations: 20.45 kB / 0.7262 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of SimCode: time 2.81e-07/0.5769, allocations: 0 / 0.7262 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of Templates: time 0.004915/0.5818, allocations: 1.757 MB / 0.7279 GB, free: 12.19 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.106572626158595] Failed to read output from testmodel.py, exit status != 0: 0.5901773367077112 0.603625977 0.033256938 Calling exit ...