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.0008213/0.0008213, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.00076/0.00076, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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.8536/0.8536, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.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.6809/0.6809, allocations: 154.5 MB / 414.5 MB, free: 0.8555 MB / 378.7 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 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: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 0.6193 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.706e-05, allocations: 9.234 kB / 0.6193 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001696/0.001723, allocations: 0.9058 MB / 0.6202 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.003203, allocations: 1.474 MB / 0.6216 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.363e-05/0.003277, allocations: 4 kB / 0.6216 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.978e-05/0.003316, allocations: 15.81 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.003438, allocations: 63.5 kB / 0.6217 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007508/0.004189, allocations: 443.1 kB / 0.6221 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004141/0.004603, allocations: 0.4911 MB / 0.6226 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.004719, allocations: 25.95 kB / 0.6226 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.004971, allocations: 263.6 kB / 0.6229 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.005146, allocations: 131.7 kB / 0.623 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.367e-05/0.0052, allocations: 48 kB / 0.623 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9e-05/0.00529, allocations: 63.92 kB / 0.6231 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.55e-05/0.005325, allocations: 39.84 kB / 0.6231 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0003674/0.005693, allocations: 131.8 kB / 0.6233 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004417/0.006134, allocations: 0.5688 MB / 0.6238 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.006139, allocations: 0 / 0.6238 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.104e-06/0.006141, allocations: 0 / 0.6238 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.006148, allocations: 4 kB / 0.6238 GB, free: 8.605 MB / 0.5886 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.000659/0.006807, allocations: 0.5586 MB / 0.6244 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.006842, allocations: 9.469 kB / 0.6244 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.378e-05/0.006916, allocations: 32.8 kB / 0.6244 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.007047, allocations: 161 kB / 0.6246 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.007074, allocations: 16.38 kB / 0.6246 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.007111, allocations: 28.31 kB / 0.6246 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.007261, allocations: 128.5 kB / 0.6247 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.00727, allocations: 192 / 0.6247 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.007283, allocations: 8.359 kB / 0.6247 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.007289, allocations: 4.375 kB / 0.6247 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.106e-05/0.00737, allocations: 55.86 kB / 0.6248 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006084/0.007979, allocations: 0.7272 MB / 0.6255 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.008094, allocations: 114.4 kB / 0.6256 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.031e-05/0.008145, allocations: 51.42 kB / 0.6257 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.008155, allocations: 4 kB / 0.6257 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.008374, allocations: 178.6 kB / 0.6258 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.008375, allocations: 4 kB / 0.6258 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.0003249/0.0087, allocations: 225.4 kB / 0.6261 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.008756, allocations: 140.4 kB / 0.6262 GB, free: 5.934 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.008923, allocations: 241.7 kB / 0.6264 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.008956, allocations: 37.7 kB / 0.6265 GB, free: 5.645 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.009026, allocations: 124.5 kB / 0.6266 GB, free: 5.52 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.009053, allocations: 43.72 kB / 0.6266 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.009155, allocations: 85.66 kB / 0.6267 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.996e-05/0.009235, allocations: 334.8 kB / 0.627 GB, free: 5.051 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.009477, allocations: 271 kB / 0.6273 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.009722, allocations: 357 kB / 0.6276 GB, free: 4.352 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.01, allocations: 368.8 kB / 0.628 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01001, allocations: 0 / 0.628 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006035/0.01061, allocations: 0.6941 MB / 0.6286 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.419e-05/0.01068, allocations: 134.8 kB / 0.6288 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.01068, allocations: 4 kB / 0.6288 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.0107, allocations: 4 kB / 0.6288 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.276e-05/0.01076, allocations: 15.92 kB / 0.6288 GB, free: 3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.01077, allocations: 4 kB / 0.6288 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.01108, allocations: 116 kB / 0.6289 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.01112, allocations: 31.97 kB / 0.6289 GB, free: 2.852 MB / 0.5886 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.0001077/0.01122, allocations: 146.7 kB / 0.6291 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.01124, allocations: 19.91 kB / 0.6291 GB, free: 2.68 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.304e-05/0.01128, allocations: 26.27 kB / 0.6291 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.01128, allocations: 4 kB / 0.6291 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01128, allocations: 0 / 0.6291 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01129, allocations: 0 / 0.6291 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.01142, allocations: 189.1 kB / 0.6293 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01142, allocations: 0 / 0.6293 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.192e-05/0.01144, allocations: 8 kB / 0.6293 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01145, allocations: 7.938 kB / 0.6293 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.01146, allocations: 15.86 kB / 0.6293 GB, free: 2.402 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01146, allocations: 0 / 0.6293 GB, free: 2.402 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01146, allocations: 0 / 0.6293 GB, free: 2.402 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.01165, allocations: 231.4 kB / 0.6296 GB, free: 2.148 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.01167, allocations: 15.91 kB / 0.6296 GB, free: 2.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.01169, allocations: 4 kB / 0.6296 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.352e-05/0.01172, allocations: 11.98 kB / 0.6296 GB, free: 2.117 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.01176, allocations: 15.92 kB / 0.6296 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.01177, allocations: 15.98 kB / 0.6296 GB, free: 2.086 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.759e-05/0.01187, allocations: 161.2 kB / 0.6298 GB, free: 1.926 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.01187, allocations: 0 / 0.6298 GB, free: 1.926 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004819/0.01235, allocations: 79.88 kB / 0.6298 GB, free: 1.848 MB / 0.5886 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.0001372/0.01249, allocations: 104.7 kB / 0.6299 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004787/0.01297, allocations: 0.6056 MB / 0.6305 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01297, allocations: 0 / 0.6305 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.132e-05/0.01306, allocations: 79.89 kB / 0.6306 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.01334, allocations: 68.81 kB / 0.6307 GB, free: 0.9102 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004479/0.01379, allocations: 367.1 kB / 0.631 GB, free: 0.5117 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.603e-05/0.01385, allocations: 116.9 kB / 0.6311 GB, free: 388 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.01389, allocations: 20.5 kB / 0.6312 GB, free: 368 kB / 0.5886 GB Notification: Performance of SimCode: time 5.21e-07/0.01389, allocations: 3.938 kB / 0.6312 GB, free: 364 kB / 0.5886 GB Notification: Performance of Templates: time 0.004132/0.01802, allocations: 3.551 MB / 0.6346 GB, free: 12.85 MB / 0.6042 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.045616116374731] Failed to read output from testmodel.py, exit status != 0: 0.02338574454188347 0.031608673000000004 0.023800605000000002 Calling exit ...