Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.001463/0.001463, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002251/0.002251, allocations: 219.5 kB / 22.26 MB, free: 5.121 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 8.012 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.949 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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [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.002147/0.002147, allocations: 75.83 kB / 0.7187 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5842/0.5864, allocations: 102 MB / 0.8183 GB, free: 29.27 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002006/0.5884, allocations: 0.9698 MB / 0.8193 GB, free: 28.65 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.59, allocations: 1.471 MB / 0.8207 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.5901, allocations: 1.969 kB / 0.8207 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.383e-05/0.5901, allocations: 17.88 kB / 0.8207 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.5902, allocations: 66 kB / 0.8208 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009061/0.5911, allocations: 443.8 kB / 0.8212 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0005209/0.5917, allocations: 494 kB / 0.8217 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.5918, allocations: 33.19 kB / 0.8217 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002311/0.592, allocations: 181.7 kB / 0.8219 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002928/0.5923, allocations: 169.8 kB / 0.8221 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.5924, allocations: 49.94 kB / 0.8221 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.5925, allocations: 67.98 kB / 0.8222 GB, free: 26.87 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.993e-05/0.5926, allocations: 37.56 kB / 0.8222 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.5927, allocations: 166.1 kB / 0.8224 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0005145/0.5932, allocations: 498.5 kB / 0.8228 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5932, allocations: 0.7188 kB / 0.8228 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5932, allocations: 0 / 0.8228 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.5933, allocations: 1.344 kB / 0.8228 GB, free: 26.59 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.0007152/0.594, allocations: 0.5654 MB / 0.8234 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.594, allocations: 11.84 kB / 0.8234 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.243e-05/0.5941, allocations: 32.86 kB / 0.8234 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.5942, allocations: 167.9 kB / 0.8236 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.5943, allocations: 15.19 kB / 0.8236 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.5943, allocations: 26.75 kB / 0.8236 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.5945, allocations: 118.6 kB / 0.8237 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.5945, allocations: 4.125 kB / 0.8238 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.5945, allocations: 11.98 kB / 0.8238 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.5945, allocations: 3.156 kB / 0.8238 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.5946, allocations: 52.06 kB / 0.8238 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008895/0.5955, allocations: 0.8506 MB / 0.8246 GB, free: 25.13 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.5957, allocations: 116.2 kB / 0.8248 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.668e-05/0.5957, allocations: 49.73 kB / 0.8248 GB, free: 24.97 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.5958, allocations: 5.094 kB / 0.8248 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002941/0.5961, allocations: 175.4 kB / 0.825 GB, free: 24.86 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.5961, allocations: 0 / 0.825 GB, free: 24.86 MB / 0.6387 GB Notification: Performance of matching and sorting (n=16): time 0.0004425/0.5965, allocations: 225.9 kB / 0.8252 GB, free: 24.76 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.5965, allocations: 134.2 kB / 0.8253 GB, free: 24.61 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.5968, allocations: 251.7 kB / 0.8256 GB, free: 24.44 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/0.5968, allocations: 37.89 kB / 0.8256 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.744e-05/0.5969, allocations: 124.6 kB / 0.8257 GB, free: 24.3 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.5969, allocations: 39.09 kB / 0.8258 GB, free: 24.27 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.5971, allocations: 93.08 kB / 0.8258 GB, free: 24.23 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.814e-05/0.5972, allocations: 339.2 kB / 0.8262 GB, free: 23.91 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.5974, allocations: 141.3 kB / 0.8263 GB, free: 23.85 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.5978, allocations: 226.7 kB / 0.8265 GB, free: 23.69 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.5981, allocations: 365.3 kB / 0.8269 GB, free: 23.38 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5981, allocations: 0 / 0.8269 GB, free: 23.38 MB / 0.6387 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008177/0.5989, allocations: 0.5675 MB / 0.8274 GB, free: 23.05 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.496e-05/0.599, allocations: 137.5 kB / 0.8276 GB, free: 22.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.599, allocations: 6.719 kB / 0.8276 GB, free: 22.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.599, allocations: 8.281 kB / 0.8276 GB, free: 22.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.7e-05/0.5991, allocations: 10.77 kB / 0.8276 GB, free: 22.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.5991, allocations: 8.812 kB / 0.8276 GB, free: 22.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006351/0.5997, allocations: 116.8 kB / 0.8277 GB, free: 22.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/0.5998, allocations: 27.97 kB / 0.8277 GB, free: 22.88 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001447/0.5999, allocations: 145.1 kB / 0.8279 GB, free: 22.75 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.6, allocations: 23.39 kB / 0.8279 GB, free: 22.74 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.924e-05/0.6, allocations: 21.12 kB / 0.8279 GB, free: 22.72 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.6, allocations: 3.266 kB / 0.8279 GB, free: 22.72 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.6, allocations: 1.375 kB / 0.8279 GB, free: 22.72 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.6, allocations: 7.141 kB / 0.8279 GB, free: 22.71 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.6002, allocations: 235.9 kB / 0.8281 GB, free: 22.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.6002, allocations: 5.938 kB / 0.8281 GB, free: 22.51 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.109e-05/0.6003, allocations: 9.5 kB / 0.8282 GB, free: 22.51 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.6003, allocations: 1.094 kB / 0.8282 GB, free: 22.51 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.6003, allocations: 8.641 kB / 0.8282 GB, free: 22.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.6003, allocations: 6.969 kB / 0.8282 GB, free: 22.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6003, allocations: 1.219 kB / 0.8282 GB, free: 22.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.6006, allocations: 216.6 kB / 0.8284 GB, free: 22.36 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.6006, allocations: 27.44 kB / 0.8284 GB, free: 22.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.6006, allocations: 3.828 kB / 0.8284 GB, free: 22.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.303e-05/0.6007, allocations: 6.016 kB / 0.8284 GB, free: 22.34 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.6007, allocations: 20.67 kB / 0.8284 GB, free: 22.33 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.6007, allocations: 12.5 kB / 0.8284 GB, free: 22.32 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001262/0.6009, allocations: 167.9 kB / 0.8286 GB, free: 22.22 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6009, allocations: 0 / 0.8286 GB, free: 22.22 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003367/0.6012, allocations: 69.03 kB / 0.8287 GB, free: 22.21 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000111/0.6013, allocations: 117.2 kB / 0.8288 GB, free: 22.11 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005662/0.6019, allocations: 483.2 kB / 0.8292 GB, free: 21.76 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6019, allocations: 1.344 kB / 0.8292 GB, free: 21.76 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 9.472e-05/0.602, allocations: 57.75 kB / 0.8293 GB, free: 21.74 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.6024, allocations: 68.06 kB / 0.8294 GB, free: 21.72 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004888/0.6029, allocations: 361.9 kB / 0.8297 GB, free: 21.45 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.603, allocations: 0.7308 MB / 0.8304 GB, free: 20.75 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.637e-05/0.6031, allocations: 18.2 kB / 0.8304 GB, free: 20.75 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.611e-05/0.6031, allocations: 19.09 kB / 0.8305 GB, free: 20.75 MB / 0.6387 GB Notification: Performance of SimCode: time 3.4e-07/0.6031, allocations: 4 kB / 0.8305 GB, free: 20.74 MB / 0.6387 GB Notification: Performance of Templates: time 0.009587/0.6127, allocations: 4.632 MB / 0.835 GB, free: 20.39 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.8683523796498775] Failed to read output from testmodel.py, exit status != 0: 0.6207712348550558 0.634415627 0.038350001 Calling exit ...