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.001918/0.001918, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002362/0.002362, allocations: 218.3 kB / 22.25 MB, free: 5.125 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.957 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.347/1.347, allocations: 203.8 MB / 0.5042 GB, free: 4.855 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.002149/0.002149, allocations: 75.89 kB / 0.7187 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5798/0.5819, allocations: 102 MB / 0.8184 GB, free: 29.18 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00274/0.5847, allocations: 0.7137 MB / 0.8191 GB, free: 28.73 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001781/0.5864, allocations: 1.176 MB / 0.8202 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.956e-05/0.5865, allocations: 0 / 0.8202 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/0.5865, allocations: 7.875 kB / 0.8202 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.893e-05/0.5866, allocations: 13.17 kB / 0.8202 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005271/0.5872, allocations: 132.6 kB / 0.8204 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.5874, allocations: 127.5 kB / 0.8205 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.5875, allocations: 5.344 kB / 0.8205 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.5876, allocations: 45.69 kB / 0.8205 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.5878, allocations: 51.47 kB / 0.8206 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.811e-05/0.5878, allocations: 12.06 kB / 0.8206 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.241e-05/0.5879, allocations: 22.14 kB / 0.8206 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.538e-05/0.5879, allocations: 12.62 kB / 0.8206 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 8.327e-05/0.588, allocations: 40.11 kB / 0.8207 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.5883, allocations: 141.7 kB / 0.8208 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.5883, allocations: 0.7031 kB / 0.8208 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.485e-06/0.5883, allocations: 0 / 0.8208 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.5883, allocations: 0.5938 kB / 0.8208 GB, free: 27.6 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006442/0.589, allocations: 313.9 kB / 0.8211 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.589, allocations: 12.53 kB / 0.8211 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.068e-05/0.5891, allocations: 10 kB / 0.8211 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.5892, allocations: 128.9 kB / 0.8212 GB, free: 27.15 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.5892, allocations: 3.828 kB / 0.8212 GB, free: 27.15 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.5893, allocations: 5.812 kB / 0.8212 GB, free: 27.15 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.5894, allocations: 46.11 kB / 0.8213 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.5894, allocations: 1.25 kB / 0.8213 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.5895, allocations: 5.297 kB / 0.8213 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.5895, allocations: 1.594 kB / 0.8213 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.218e-05/0.5895, allocations: 12.17 kB / 0.8213 GB, free: 27.1 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005694/0.5901, allocations: 299.5 kB / 0.8216 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 7.67e-05/0.5902, allocations: 30.06 kB / 0.8216 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.5902, allocations: 20.38 kB / 0.8216 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.5902, allocations: 0 / 0.8216 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.5904, allocations: 66.59 kB / 0.8217 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.5904, allocations: 1.406 kB / 0.8217 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4): time 0.000294/0.5907, allocations: 75.94 kB / 0.8218 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.5908, allocations: 53.95 kB / 0.8218 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.5909, allocations: 129.6 kB / 0.822 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.5909, allocations: 27.8 kB / 0.822 GB, free: 26.48 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.591, allocations: 90.12 kB / 0.8221 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.591, allocations: 14.06 kB / 0.8221 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.516e-05/0.5911, allocations: 32.02 kB / 0.8221 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.755e-05/0.5912, allocations: 317.4 kB / 0.8224 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.5913, allocations: 42.56 kB / 0.8225 GB, free: 26.03 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.5914, allocations: 60.97 kB / 0.8225 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.5915, allocations: 98.69 kB / 0.8226 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5915, allocations: 4.844 kB / 0.8226 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003597/0.5919, allocations: 162.6 kB / 0.8228 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.892e-05/0.5919, allocations: 39.5 kB / 0.8228 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.5919, allocations: 0.5938 kB / 0.8228 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.592, allocations: 1.062 kB / 0.8228 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.043e-05/0.5921, allocations: 3.125 kB / 0.8228 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.5921, allocations: 1.703 kB / 0.8228 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.5923, allocations: 29.72 kB / 0.8228 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.5923, allocations: 6.812 kB / 0.8228 GB, free: 25.76 MB / 0.6387 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 9.891e-05/0.5924, allocations: 126.2 kB / 0.823 GB, free: 25.63 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.5924, allocations: 7.188 kB / 0.823 GB, free: 25.63 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.5925, allocations: 14.34 kB / 0.823 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.5925, allocations: 0.5938 kB / 0.823 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.5925, allocations: 1.25 kB / 0.823 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.5925, allocations: 0.5312 kB / 0.823 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.5926, allocations: 145 kB / 0.8231 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5926, allocations: 0.5312 kB / 0.8231 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.996e-05/0.5927, allocations: 2.719 kB / 0.8231 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.5927, allocations: 5.062 kB / 0.8231 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.5927, allocations: 0.5312 kB / 0.8231 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.5927, allocations: 1.125 kB / 0.8231 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5927, allocations: 0.5 kB / 0.8231 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.5928, allocations: 101 kB / 0.8232 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.671e-05/0.5929, allocations: 3.125 kB / 0.8232 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.5929, allocations: 9.281 kB / 0.8232 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.963e-05/0.5929, allocations: 1.406 kB / 0.8232 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.5929, allocations: 3.359 kB / 0.8233 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.593, allocations: 1.844 kB / 0.8233 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.983e-05/0.593, allocations: 100.8 kB / 0.8233 GB, free: 25.27 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.593, allocations: 4 kB / 0.8234 GB, free: 25.26 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002374/0.5933, allocations: 18.27 kB / 0.8234 GB, free: 25.26 MB / 0.6387 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.0001779/0.5934, allocations: 96.58 kB / 0.8235 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002694/0.5937, allocations: 122.8 kB / 0.8236 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.5937, allocations: 1.25 kB / 0.8236 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 3.836e-05/0.5937, allocations: 13.61 kB / 0.8236 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.594, allocations: 31.78 kB / 0.8236 GB, free: 25.06 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.5943, allocations: 140 kB / 0.8238 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.5945, allocations: 0.6845 MB / 0.8244 GB, free: 24.24 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.663e-05/0.5945, allocations: 4.078 kB / 0.8244 GB, free: 24.24 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.5945, allocations: 10.58 kB / 0.8244 GB, free: 24.23 MB / 0.6387 GB Notification: Performance of SimCode: time 3.9e-07/0.5945, allocations: 1.25 kB / 0.8244 GB, free: 24.23 MB / 0.6387 GB Notification: Performance of Templates: time 0.00513/0.5996, allocations: 1.37 MB / 0.8258 GB, free: 24.1 MB / 0.6387 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.894500629976392] Failed to read output from testmodel.py, exit status != 0: 0.6085469052195549 0.6201087319999999 0.029095663 Calling exit ...