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.001394/0.001394, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00173/0.00173, allocations: 211.8 kB / 22.25 MB, free: 4.863 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.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.286/1.286, allocations: 203.8 MB / 0.5041 GB, free: 4.668 MB / 414.1 MB " [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.002055/0.002055, allocations: 71.83 kB / 0.7187 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6593/0.6613, allocations: 102 MB / 0.8183 GB, free: 28.95 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002617/0.6639, allocations: 0.8384 MB / 0.8191 GB, free: 28.44 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.6657, allocations: 1.2 MB / 0.8203 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.975e-05/0.6658, allocations: 5.094 kB / 0.8203 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.377e-05/0.6658, allocations: 14.03 kB / 0.8203 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.892e-05/0.6659, allocations: 20.34 kB / 0.8203 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000572/0.6665, allocations: 148.2 kB / 0.8205 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.6667, allocations: 167.7 kB / 0.8206 GB, free: 27.4 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.6669, allocations: 30.5 kB / 0.8207 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.667, allocations: 69.97 kB / 0.8207 GB, free: 27.35 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.6672, allocations: 55.78 kB / 0.8208 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.568e-05/0.6672, allocations: 14.81 kB / 0.8208 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.09e-05/0.6673, allocations: 32.75 kB / 0.8208 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.6674, allocations: 30.09 kB / 0.8209 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 9.199e-05/0.6675, allocations: 54.16 kB / 0.8209 GB, free: 27.28 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.6678, allocations: 172.1 kB / 0.8211 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.6678, allocations: 1 kB / 0.8211 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.505e-06/0.6678, allocations: 0 / 0.8211 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.6678, allocations: 0 / 0.8211 GB, free: 27.22 MB / 0.6387 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.0007631/0.6685, allocations: 418.1 kB / 0.8215 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.6686, allocations: 11.48 kB / 0.8215 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.004e-05/0.6687, allocations: 21.12 kB / 0.8215 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005677/0.6692, allocations: 186.1 kB / 0.8217 GB, free: 26.69 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.6692, allocations: 9.156 kB / 0.8217 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.251e-05/0.6693, allocations: 10.94 kB / 0.8217 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.6696, allocations: 93.59 kB / 0.8218 GB, free: 26.63 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.6696, allocations: 4.5 kB / 0.8218 GB, free: 26.63 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.6696, allocations: 10.16 kB / 0.8218 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.6696, allocations: 1.781 kB / 0.8218 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/0.6698, allocations: 43.47 kB / 0.8218 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007582/0.6706, allocations: 317.9 kB / 0.8222 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.6707, allocations: 32.94 kB / 0.8222 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.924e-05/0.6708, allocations: 25.83 kB / 0.8222 GB, free: 26.33 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.6708, allocations: 2.578 kB / 0.8222 GB, free: 26.33 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003034/0.6711, allocations: 102.7 kB / 0.8223 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=10): time 1.472e-06/0.6712, allocations: 0 / 0.8223 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10): time 0.0004763/0.6716, allocations: 135.9 kB / 0.8224 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.6717, allocations: 57.52 kB / 0.8225 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.6718, allocations: 151.8 kB / 0.8226 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.6718, allocations: 34 kB / 0.8227 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.6719, allocations: 102.3 kB / 0.8228 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.6719, allocations: 37.88 kB / 0.8228 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.212e-05/0.672, allocations: 47.45 kB / 0.8228 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.975e-05/0.672, allocations: 321.6 kB / 0.8232 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.6722, allocations: 81.56 kB / 0.8232 GB, free: 25.47 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.6724, allocations: 167.8 kB / 0.8234 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.6728, allocations: 205.7 kB / 0.8236 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6728, allocations: 1.875 kB / 0.8236 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005446/0.6733, allocations: 283.5 kB / 0.8239 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/0.6733, allocations: 35.11 kB / 0.8239 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.6733, allocations: 3.484 kB / 0.8239 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.6734, allocations: 4.156 kB / 0.8239 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.6735, allocations: 27.81 kB / 0.8239 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.6735, allocations: 4.344 kB / 0.8239 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.6738, allocations: 47.62 kB / 0.824 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/0.6738, allocations: 16.38 kB / 0.824 GB, free: 24.93 MB / 0.6387 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.0001331/0.6739, allocations: 129.2 kB / 0.8241 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.674, allocations: 9.109 kB / 0.8241 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.925e-05/0.674, allocations: 12.55 kB / 0.8241 GB, free: 24.79 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.674, allocations: 1.188 kB / 0.8241 GB, free: 24.79 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.674, allocations: 0.7031 kB / 0.8241 GB, free: 24.79 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.674, allocations: 5.75 kB / 0.8241 GB, free: 24.79 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006276/0.6747, allocations: 329.4 kB / 0.8245 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6747, allocations: 3.938 kB / 0.8245 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.6748, allocations: 13.91 kB / 0.8245 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.6748, allocations: 0 / 0.8245 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.6748, allocations: 7.516 kB / 0.8245 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.6748, allocations: 4.594 kB / 0.8245 GB, free: 24.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6748, allocations: 5.812 kB / 0.8245 GB, free: 24.51 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.6753, allocations: 241.5 kB / 0.8247 GB, free: 24.34 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.6753, allocations: 15.88 kB / 0.8247 GB, free: 24.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.6753, allocations: 10.12 kB / 0.8247 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.789e-05/0.6754, allocations: 10.66 kB / 0.8248 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.771e-05/0.6755, allocations: 7.797 kB / 0.8248 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.6755, allocations: 7.781 kB / 0.8248 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 8.39e-05/0.6756, allocations: 100.1 kB / 0.8249 GB, free: 24.24 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6756, allocations: 1.219 kB / 0.8249 GB, free: 24.24 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003308/0.6759, allocations: 33.66 kB / 0.8249 GB, free: 24.23 MB / 0.6387 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.0002281/0.6762, allocations: 111.1 kB / 0.825 GB, free: 24.13 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00049/0.6767, allocations: 195.9 kB / 0.8252 GB, free: 24.01 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6767, allocations: 1.094 kB / 0.8252 GB, free: 24.01 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.6768, allocations: 36.8 kB / 0.8252 GB, free: 24 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.6771, allocations: 18.16 kB / 0.8252 GB, free: 24 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005851/0.6777, allocations: 273.5 kB / 0.8255 GB, free: 23.79 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.831e-05/0.6778, allocations: 91.98 kB / 0.8256 GB, free: 23.72 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.879e-05/0.6778, allocations: 15.28 kB / 0.8256 GB, free: 23.71 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.6779, allocations: 15.88 kB / 0.8256 GB, free: 23.7 MB / 0.6387 GB Notification: Performance of SimCode: time 2.81e-07/0.6779, allocations: 0 / 0.8256 GB, free: 23.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.006339/0.6842, allocations: 1.822 MB / 0.8274 GB, free: 23.49 MB / 0.6387 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.939289612695575] Failed to read output from testmodel.py, exit status != 0: 0.6927256304770708 0.70725062 0.036434038 Calling exit ...