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.001496/0.001496, allocations: 80.38 kB / 19.18 MB, free: 2.516 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.001621/0.001621, allocations: 158.8 kB / 22.46 MB, free: 5.375 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.567/1.567, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.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.209/1.209, allocations: 154.6 MB / 413.7 MB, free: 5.297 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.916e-06/2.916e-06, allocations: 0 / 0.6185 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.867e-05/4.159e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002232/0.002274, allocations: 0.9068 MB / 0.6194 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002125/0.004399, allocations: 1.467 MB / 0.6208 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.816e-05/0.004467, allocations: 0 / 0.6208 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.375e-05/0.004521, allocations: 19.69 kB / 0.6209 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.004677, allocations: 59.62 kB / 0.6209 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.005753, allocations: 445 kB / 0.6213 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005807/0.006334, allocations: 0.4886 MB / 0.6218 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.006458, allocations: 29.89 kB / 0.6218 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003342/0.006792, allocations: 268.8 kB / 0.6221 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.007025, allocations: 131.6 kB / 0.6222 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.844e-05/0.007113, allocations: 52 kB / 0.6223 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.007249, allocations: 71.91 kB / 0.6223 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.833e-05/0.007297, allocations: 35.86 kB / 0.6224 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.007492, allocations: 139.7 kB / 0.6225 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006319/0.008124, allocations: 0.5573 MB / 0.6231 GB, free: 15.99 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.008129, allocations: 0 / 0.6231 GB, free: 15.99 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.403e-06/0.00813, allocations: 0 / 0.6231 GB, free: 15.99 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.008143, allocations: 0 / 0.6231 GB, free: 15.99 MB / 0.545 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.001003/0.009146, allocations: 0.5624 MB / 0.6236 GB, free: 15.37 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.009186, allocations: 9.469 kB / 0.6236 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.009291, allocations: 32.8 kB / 0.6237 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.00954, allocations: 164.9 kB / 0.6238 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.009577, allocations: 20.38 kB / 0.6238 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.939e-05/0.009646, allocations: 24.36 kB / 0.6239 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.009883, allocations: 117.6 kB / 0.624 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.009896, allocations: 4.188 kB / 0.624 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.009911, allocations: 4.375 kB / 0.624 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.009919, allocations: 8.312 kB / 0.624 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.01005, allocations: 59.84 kB / 0.624 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009848/0.01103, allocations: 0.7155 MB / 0.6247 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.01124, allocations: 126.3 kB / 0.6249 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.9e-05/0.01133, allocations: 47.48 kB / 0.6249 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.01135, allocations: 4 kB / 0.6249 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003506/0.0117, allocations: 185.4 kB / 0.6251 GB, free: 13.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.0117, allocations: 0 / 0.6251 GB, free: 13.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0005119/0.01221, allocations: 229.4 kB / 0.6253 GB, free: 13.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.01233, allocations: 136.5 kB / 0.6254 GB, free: 13.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.01263, allocations: 241.7 kB / 0.6257 GB, free: 13.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.699e-05/0.0127, allocations: 41.7 kB / 0.6257 GB, free: 13.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.01283, allocations: 120.6 kB / 0.6258 GB, free: 12.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.01287, allocations: 39.78 kB / 0.6259 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.01305, allocations: 85.66 kB / 0.6259 GB, free: 12.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.01322, allocations: 334.8 kB / 0.6263 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004343/0.01365, allocations: 271 kB / 0.6265 GB, free: 12.14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004736/0.01413, allocations: 354.1 kB / 0.6269 GB, free: 11.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005272/0.01465, allocations: 372.9 kB / 0.6272 GB, free: 11.31 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01466, allocations: 3.938 kB / 0.6272 GB, free: 11.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00112/0.01578, allocations: 0.6902 MB / 0.6279 GB, free: 10.56 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.01589, allocations: 130.8 kB / 0.628 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.01589, allocations: 4.25 kB / 0.628 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.01592, allocations: 15.92 kB / 0.628 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.29e-05/0.016, allocations: 11.94 kB / 0.628 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.01601, allocations: 4 kB / 0.628 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000662/0.01667, allocations: 107.8 kB / 0.6281 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.826e-05/0.01674, allocations: 35.97 kB / 0.6282 GB, free: 10.23 MB / 0.545 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.0001956/0.01693, allocations: 150.6 kB / 0.6283 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.01697, allocations: 23.86 kB / 0.6283 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.609e-05/0.01702, allocations: 21.33 kB / 0.6284 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.01703, allocations: 4 kB / 0.6284 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.01703, allocations: 0 / 0.6284 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.01704, allocations: 0 / 0.6284 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.01728, allocations: 189.1 kB / 0.6286 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01728, allocations: 4 kB / 0.6286 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/0.01732, allocations: 11.94 kB / 0.6286 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.01733, allocations: 7.984 kB / 0.6286 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.01734, allocations: 0 / 0.6286 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01734, allocations: 4 kB / 0.6286 GB, free: 9.781 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01734, allocations: 0.9375 kB / 0.6286 GB, free: 9.781 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.01767, allocations: 223.4 kB / 0.6288 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.01772, allocations: 19.86 kB / 0.6288 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.01775, allocations: 8 kB / 0.6288 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.895e-05/0.01781, allocations: 7.984 kB / 0.6288 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.01786, allocations: 15.98 kB / 0.6288 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.01787, allocations: 15.97 kB / 0.6289 GB, free: 9.469 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00017/0.01804, allocations: 169.2 kB / 0.629 GB, free: 9.309 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01804, allocations: 0 / 0.629 GB, free: 9.309 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003351/0.01838, allocations: 75.88 kB / 0.6291 GB, free: 9.234 MB / 0.545 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.000204/0.01858, allocations: 111.9 kB / 0.6292 GB, free: 9.117 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009273/0.01951, allocations: 0.5982 MB / 0.6298 GB, free: 8.445 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01951, allocations: 4.062 kB / 0.6298 GB, free: 8.441 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.01962, allocations: 55.91 kB / 0.6298 GB, free: 8.387 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.02007, allocations: 68.33 kB / 0.6299 GB, free: 8.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007021/0.02077, allocations: 349.2 kB / 0.6302 GB, free: 7.945 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.02089, allocations: 116.9 kB / 0.6303 GB, free: 7.809 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.73e-05/0.02096, allocations: 21.64 kB / 0.6304 GB, free: 7.789 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.02101, allocations: 20.5 kB / 0.6304 GB, free: 7.77 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.02101, allocations: 0 / 0.6304 GB, free: 7.77 MB / 0.545 GB Notification: Performance of Templates: time 0.01078/0.03179, allocations: 5.037 MB / 0.6353 GB, free: 2.855 MB / 0.545 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: 6.098126579076052] Failed to read output from testmodel.py, exit status != 0: 0.04109707474708557 0.057192823000000004 0.045881337 Calling exit ...