Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.001594/0.001594, 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.002123/0.002123, allocations: 211 kB / 22.24 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.797 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.322/1.322, allocations: 203.8 MB / 0.5041 GB, free: 4.613 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.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.002134/0.002134, allocations: 61.94 kB / 0.7187 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6891/0.6912, allocations: 102 MB / 0.8183 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002245/0.6935, allocations: 0.6979 MB / 0.819 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.6951, allocations: 1.159 MB / 0.8201 GB, free: 36 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.335e-05/0.6952, allocations: 0 / 0.8201 GB, free: 36 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.6952, allocations: 3.938 kB / 0.8201 GB, free: 32 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.777e-05/0.6953, allocations: 19.91 kB / 0.8201 GB, free: 12 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.6958, allocations: 130.6 kB / 0.8202 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.6961, allocations: 115.8 kB / 0.8204 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.6962, allocations: 15.92 kB / 0.8204 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.433e-05/0.6963, allocations: 51.84 kB / 0.8204 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.6964, allocations: 31.89 kB / 0.8205 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.6964, allocations: 16 kB / 0.8205 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.35e-05/0.6965, allocations: 19.98 kB / 0.8205 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/0.6965, allocations: 8 kB / 0.8205 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.027e-05/0.6966, allocations: 47.83 kB / 0.8205 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.6968, allocations: 135.1 kB / 0.8207 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6968, allocations: 4 kB / 0.8207 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6968, allocations: 0 / 0.8207 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.6968, allocations: 0 / 0.8207 GB, free: 15.45 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006145/0.6974, allocations: 322.7 kB / 0.821 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.6975, allocations: 9.469 kB / 0.821 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.787e-05/0.6975, allocations: 8.875 kB / 0.821 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.6977, allocations: 121.5 kB / 0.8211 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.6977, allocations: 12.36 kB / 0.8211 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.6977, allocations: 4.375 kB / 0.8211 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.6979, allocations: 42.25 kB / 0.8212 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.6979, allocations: 4.188 kB / 0.8212 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.6979, allocations: 3.938 kB / 0.8212 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.6979, allocations: 4 kB / 0.8212 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.969e-05/0.6979, allocations: 15.94 kB / 0.8212 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/0.6984, allocations: 252.5 kB / 0.8214 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.126e-05/0.6984, allocations: 26.58 kB / 0.8215 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.294e-05/0.6985, allocations: 18.22 kB / 0.8215 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.6985, allocations: 7.922 kB / 0.8215 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.6987, allocations: 67.33 kB / 0.8216 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.6987, allocations: 0 / 0.8216 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002367/0.6989, allocations: 77.69 kB / 0.8216 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.6989, allocations: 51.41 kB / 0.8217 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.6991, allocations: 133.7 kB / 0.8218 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.6991, allocations: 29.7 kB / 0.8218 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/0.6992, allocations: 92.12 kB / 0.8219 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.6992, allocations: 11.89 kB / 0.8219 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-05/0.6993, allocations: 29.7 kB / 0.822 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.6994, allocations: 318.8 kB / 0.8223 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.6995, allocations: 69.62 kB / 0.8223 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.6997, allocations: 92.25 kB / 0.8224 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.6998, allocations: 92.27 kB / 0.8225 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6998, allocations: 0 / 0.8225 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003247/0.7001, allocations: 196.9 kB / 0.8227 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.904e-05/0.7002, allocations: 43.72 kB / 0.8227 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.7002, allocations: 0 / 0.8227 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.7002, allocations: 3.938 kB / 0.8227 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.761e-05/0.7003, allocations: 7.938 kB / 0.8227 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.7003, allocations: 0 / 0.8227 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.7004, allocations: 28.03 kB / 0.8228 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.7005, allocations: 15.98 kB / 0.8228 GB, free: 13.06 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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.0001192/0.7006, allocations: 118.8 kB / 0.8229 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.7006, allocations: 7.953 kB / 0.8229 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.7006, allocations: 4 kB / 0.8229 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.7006, allocations: 0 / 0.8229 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.7006, allocations: 0 / 0.8229 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.7007, allocations: 4 kB / 0.8229 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.7008, allocations: 117.3 kB / 0.823 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.7008, allocations: 7.938 kB / 0.823 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.724e-05/0.7008, allocations: 4.062 kB / 0.823 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.7008, allocations: 4 kB / 0.823 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.7008, allocations: 0 / 0.823 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.7008, allocations: 0 / 0.823 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.7008, allocations: 0 / 0.823 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.701, allocations: 97 kB / 0.8231 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 1.36e-05/0.701, allocations: 3.938 kB / 0.8231 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.701, allocations: 4 kB / 0.8231 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.823e-05/0.701, allocations: 0 / 0.8231 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.701, allocations: 7.984 kB / 0.8232 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.7011, allocations: 8 kB / 0.8232 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.072e-05/0.7011, allocations: 95.27 kB / 0.8233 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7011, allocations: 3.938 kB / 0.8233 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002237/0.7014, allocations: 20 kB / 0.8233 GB, free: 12.5 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0001636/0.7015, allocations: 99.31 kB / 0.8234 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000269/0.7018, allocations: 157 kB / 0.8235 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7018, allocations: 0 / 0.8235 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.648e-05/0.7018, allocations: 12 kB / 0.8235 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.7021, allocations: 27.98 kB / 0.8236 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003889/0.7025, allocations: 150.5 kB / 0.8237 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.585e-05/0.7025, allocations: 71.25 kB / 0.8238 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.714e-05/0.7025, allocations: 7.984 kB / 0.8238 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/0.7026, allocations: 11.44 kB / 0.8238 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.7026, allocations: 0 / 0.8238 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of Templates: time 0.00443/0.707, allocations: 1.51 MB / 0.8253 GB, free: 10.45 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.870525216683745] Failed to read output from testmodel.py, exit status != 0: 0.7164117339998484 0.740250275 0.038956669 Calling exit ...