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.0006486/0.0006486, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 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.0007228/0.0007228, allocations: 212.7 kB / 23 MB, free: 2.977 MB / 13.93 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 0.8609/0.8609, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7198/0.7198, allocations: 203.8 MB / 0.5049 GB, free: 10.41 MB / 410.7 MB " [Timeout remaining time 179] 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.0009014/0.0009014, allocations: 75.12 kB / 0.7194 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.403, allocations: 102 MB / 0.819 GB, free: 1.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001466/0.4045, allocations: 0.9141 MB / 0.8199 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.4057, allocations: 1.452 MB / 0.8213 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.569e-05/0.4058, allocations: 1.406 kB / 0.8213 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.374e-05/0.4058, allocations: 13.64 kB / 0.8214 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.4059, allocations: 63.06 kB / 0.8214 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006852/0.4066, allocations: 456 kB / 0.8218 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003587/0.407, allocations: 490.6 kB / 0.8223 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.4071, allocations: 36.81 kB / 0.8223 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.4072, allocations: 192.1 kB / 0.8225 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.4074, allocations: 136.1 kB / 0.8227 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.798e-05/0.4074, allocations: 48.97 kB / 0.8227 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.399e-05/0.4075, allocations: 64.83 kB / 0.8228 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.761e-05/0.4075, allocations: 44.22 kB / 0.8228 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.4077, allocations: 144.3 kB / 0.823 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004554/0.4081, allocations: 0.4933 MB / 0.8234 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.4081, allocations: 0 / 0.8234 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4081, allocations: 0 / 0.8234 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.4081, allocations: 0 / 0.8234 GB, free: 14.72 MB / 0.6198 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.0006217/0.4087, allocations: 0.572 MB / 0.824 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.4088, allocations: 10.34 kB / 0.824 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.731e-05/0.4089, allocations: 30.95 kB / 0.824 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.409, allocations: 160.2 kB / 0.8242 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.409, allocations: 14.94 kB / 0.8242 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/0.4091, allocations: 24.92 kB / 0.8242 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.4092, allocations: 126.5 kB / 0.8243 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.4092, allocations: 192 / 0.8243 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.4092, allocations: 7.328 kB / 0.8243 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.4093, allocations: 5.125 kB / 0.8244 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.914e-05/0.4093, allocations: 56.34 kB / 0.8244 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000679/0.41, allocations: 0.727 MB / 0.8251 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.4101, allocations: 111.6 kB / 0.8252 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.402e-05/0.4102, allocations: 52.03 kB / 0.8253 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.4102, allocations: 2.969 kB / 0.8253 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002354/0.4105, allocations: 182.3 kB / 0.8255 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.4105, allocations: 4 kB / 0.8255 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0003535/0.4108, allocations: 224.8 kB / 0.8257 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.4109, allocations: 142.2 kB / 0.8258 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.4111, allocations: 238.7 kB / 0.826 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.4111, allocations: 40.89 kB / 0.8261 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.739e-05/0.4112, allocations: 126.4 kB / 0.8262 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.4112, allocations: 39.41 kB / 0.8262 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.4113, allocations: 92.59 kB / 0.8263 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.938e-05/0.4114, allocations: 334.7 kB / 0.8266 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.4117, allocations: 275.9 kB / 0.8269 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.4119, allocations: 348.4 kB / 0.8272 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.4122, allocations: 375.1 kB / 0.8276 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4122, allocations: 0 / 0.8276 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006413/0.4129, allocations: 0.6862 MB / 0.8283 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.02e-05/0.4129, allocations: 138.5 kB / 0.8284 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.4129, allocations: 2.656 kB / 0.8284 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.413, allocations: 4.75 kB / 0.8284 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.338e-05/0.413, allocations: 15.39 kB / 0.8284 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.413, allocations: 8.625 kB / 0.8284 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.4134, allocations: 111.6 kB / 0.8285 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/0.4134, allocations: 25.22 kB / 0.8286 GB, free: 10.66 MB / 0.6198 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.0001131/0.4135, allocations: 152.8 kB / 0.8287 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.4135, allocations: 22.39 kB / 0.8287 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/0.4136, allocations: 21.25 kB / 0.8287 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4136, allocations: 7.594 kB / 0.8287 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4136, allocations: 1.344 kB / 0.8287 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4136, allocations: 1.219 kB / 0.8287 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.4137, allocations: 184.1 kB / 0.8289 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4137, allocations: 1.406 kB / 0.8289 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.619e-05/0.4138, allocations: 12.72 kB / 0.8289 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4138, allocations: 2.625 kB / 0.8289 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.4138, allocations: 11.8 kB / 0.829 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4138, allocations: 1.281 kB / 0.829 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4138, allocations: 2.016 kB / 0.829 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.414, allocations: 226.9 kB / 0.8292 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.414, allocations: 23.72 kB / 0.8292 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.4141, allocations: 8.281 kB / 0.8292 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.232e-05/0.4141, allocations: 2.172 kB / 0.8292 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.4141, allocations: 19.78 kB / 0.8292 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.4141, allocations: 8.281 kB / 0.8292 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001132/0.4142, allocations: 172.4 kB / 0.8294 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4142, allocations: 0 / 0.8294 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002218/0.4145, allocations: 69.06 kB / 0.8295 GB, free: 10.03 MB / 0.6198 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.0001223/0.4146, allocations: 113.8 kB / 0.8296 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005255/0.4151, allocations: 0.6016 MB / 0.8302 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4151, allocations: 0 / 0.8302 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.569e-05/0.4152, allocations: 74.67 kB / 0.8302 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.4155, allocations: 64.64 kB / 0.8303 GB, free: 9.391 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/0.416, allocations: 382.6 kB / 0.8307 GB, free: 9.102 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.099e-05/0.4161, allocations: 120.5 kB / 0.8308 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.4161, allocations: 23.59 kB / 0.8308 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.4161, allocations: 9 kB / 0.8308 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of Templates: time 0.005118/0.4212, allocations: 3.547 MB / 0.8343 GB, free: 8.641 MB / 0.6198 GB " [Timeout remaining time 660] 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: 5.3852275111712515] Failed to read output from testmodel.py, exit status != 0: 0.42794336192309856 0.43713469099999996 0.02714103399999994 Calling exit ...