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.0007248/0.0007248, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.0007464/0.0007464, allocations: 215.9 kB / 23.01 MB, free: 3.098 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.862/0.862, allocations: 230.6 MB / 256.8 MB, free: 9.812 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.7442/0.7442, allocations: 203.8 MB / 0.5049 GB, free: 10.69 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.0009004/0.0009004, allocations: 68.5 kB / 0.7195 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5102/0.5111, allocations: 102 MB / 0.8191 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001532/0.5126, allocations: 0.9595 MB / 0.82 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.5138, allocations: 1.481 MB / 0.8215 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.841e-05/0.5139, allocations: 2.031 kB / 0.8215 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.703e-05/0.5139, allocations: 12.98 kB / 0.8215 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.514, allocations: 59.86 kB / 0.8216 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007277/0.5148, allocations: 444.5 kB / 0.822 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004104/0.5152, allocations: 496.1 kB / 0.8224 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.5153, allocations: 33.05 kB / 0.8225 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.5154, allocations: 181.2 kB / 0.8227 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.5157, allocations: 177.9 kB / 0.8228 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.622e-05/0.5157, allocations: 48.97 kB / 0.8229 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.5158, allocations: 63.27 kB / 0.8229 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.5159, allocations: 40.39 kB / 0.823 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.5161, allocations: 166.9 kB / 0.8231 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005018/0.5166, allocations: 0.4905 MB / 0.8236 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.5166, allocations: 0 / 0.8236 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5166, allocations: 4.781 kB / 0.8236 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.5166, allocations: 0 / 0.8236 GB, free: 14.81 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.0006445/0.5172, allocations: 0.5692 MB / 0.8242 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.5173, allocations: 9.562 kB / 0.8242 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.384e-05/0.5173, allocations: 32.36 kB / 0.8242 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.5175, allocations: 159.9 kB / 0.8244 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.5175, allocations: 14.58 kB / 0.8244 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.868e-05/0.5176, allocations: 24.53 kB / 0.8244 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.5178, allocations: 129.1 kB / 0.8245 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.5178, allocations: 1.719 kB / 0.8245 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.5178, allocations: 6.172 kB / 0.8245 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.5178, allocations: 1.625 kB / 0.8245 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.321e-05/0.5179, allocations: 56.52 kB / 0.8246 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008149/0.5187, allocations: 0.8383 MB / 0.8254 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.5188, allocations: 123.1 kB / 0.8255 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.619e-05/0.5189, allocations: 48.62 kB / 0.8256 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.5189, allocations: 5.375 kB / 0.8256 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.5191, allocations: 183.1 kB / 0.8257 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.5191, allocations: 0 / 0.8257 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.000352/0.5195, allocations: 217.8 kB / 0.826 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.5195, allocations: 137.3 kB / 0.8261 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.5198, allocations: 243.4 kB / 0.8263 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.5198, allocations: 39.09 kB / 0.8264 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.599e-05/0.5199, allocations: 132.3 kB / 0.8265 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.5199, allocations: 38.61 kB / 0.8265 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.52, allocations: 97.92 kB / 0.8266 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.961e-05/0.5201, allocations: 333.6 kB / 0.8269 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.5203, allocations: 150.1 kB / 0.8271 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.5206, allocations: 223.6 kB / 0.8273 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.5209, allocations: 369.1 kB / 0.8276 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.5209, allocations: 0 / 0.8276 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006103/0.5215, allocations: 0.5599 MB / 0.8282 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.634e-05/0.5215, allocations: 144.1 kB / 0.8283 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.5215, allocations: 2.656 kB / 0.8283 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.5216, allocations: 4.062 kB / 0.8283 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.748e-05/0.5216, allocations: 14.66 kB / 0.8283 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.5216, allocations: 4.625 kB / 0.8283 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/0.522, allocations: 116.8 kB / 0.8285 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/0.522, allocations: 28.34 kB / 0.8285 GB, free: 11.1 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.0001088/0.5221, allocations: 144.6 kB / 0.8286 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.5222, allocations: 22.41 kB / 0.8286 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.546e-05/0.5222, allocations: 21.31 kB / 0.8287 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.5222, allocations: 4.062 kB / 0.8287 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.5222, allocations: 4 kB / 0.8287 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.5222, allocations: 6.812 kB / 0.8287 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.5226, allocations: 233.2 kB / 0.8289 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5226, allocations: 1.062 kB / 0.8289 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.743e-05/0.5227, allocations: 13.55 kB / 0.8289 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5227, allocations: 1.875 kB / 0.8289 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.5227, allocations: 12.08 kB / 0.8289 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5227, allocations: 5.156 kB / 0.8289 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5227, allocations: 2.656 kB / 0.8289 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.5229, allocations: 216.6 kB / 0.8291 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.5229, allocations: 24.53 kB / 0.8292 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.523, allocations: 3.656 kB / 0.8292 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.143e-05/0.523, allocations: 7.172 kB / 0.8292 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.523, allocations: 23.53 kB / 0.8292 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.523, allocations: 10.94 kB / 0.8292 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000107/0.5232, allocations: 172.7 kB / 0.8294 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5232, allocations: 0 / 0.8294 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002197/0.5234, allocations: 69.11 kB / 0.8294 GB, free: 10.42 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.0001114/0.5235, allocations: 109.6 kB / 0.8295 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004734/0.524, allocations: 488 kB / 0.83 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.524, allocations: 5.656 kB / 0.83 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.836e-05/0.5241, allocations: 72.89 kB / 0.8301 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.5243, allocations: 64.97 kB / 0.8301 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004575/0.5248, allocations: 377.5 kB / 0.8305 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.525, allocations: 0.73 MB / 0.8312 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.5251, allocations: 19.98 kB / 0.8312 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of SimCode: time 7.31e-07/0.5251, allocations: 0 / 0.8312 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.005194/0.5302, allocations: 3.506 MB / 0.8347 GB, free: 8.555 MB / 0.6198 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: 5.594075344037265] Failed to read output from testmodel.py, exit status != 0: 0.5360091750044376 0.544617936 0.026306074000000002 Calling exit ...