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.0009341/0.0009341, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009636/0.0009636, allocations: 165 kB / 23.02 MB, free: 1.551 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.9898/0.9898, allocations: 177.1 MB / 203.4 MB, free: 5.188 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-535:34: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-535:42: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.9176/0.9176, allocations: 154.8 MB / 414.7 MB, free: 420 kB / 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 1.523e-06/1.523e-06, allocations: 0 / 0.5206 GB, free: 1.922 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.466e-05/1.618e-05, allocations: 7.719 kB / 0.5206 GB, free: 1.914 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001385/0.001401, allocations: 0.9461 MB / 0.5215 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.002821, allocations: 1.483 MB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.033e-05/0.002892, allocations: 4.562 kB / 0.5229 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.028e-05/0.002932, allocations: 16.44 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.003062, allocations: 65.38 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007115/0.003773, allocations: 427.7 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003713/0.004145, allocations: 495.9 kB / 0.5239 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.004251, allocations: 31.36 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.004462, allocations: 271.5 kB / 0.5242 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004136/0.004876, allocations: 131.7 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.412e-05/0.00493, allocations: 48 kB / 0.5244 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.487e-05/0.005025, allocations: 60.77 kB / 0.5244 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.414e-05/0.005059, allocations: 43.78 kB / 0.5245 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.005168, allocations: 136.8 kB / 0.5246 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.005461, allocations: 339.2 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005463, allocations: 0 / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.21e-07/0.005464, allocations: 2.812 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.005468, allocations: 0 / 0.5249 GB, free: 13.48 MB / 0.4948 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.0005999/0.006067, allocations: 0.6662 MB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.006105, allocations: 8.031 kB / 0.5256 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.544e-05/0.00618, allocations: 40.8 kB / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.006309, allocations: 167.7 kB / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.006333, allocations: 8.375 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.943e-05/0.006373, allocations: 28.98 kB / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.006518, allocations: 127.7 kB / 0.5259 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.006528, allocations: 1.438 kB / 0.5259 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.00654, allocations: 4.375 kB / 0.5259 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.006547, allocations: 384 / 0.5259 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.027e-05/0.006608, allocations: 40.8 kB / 0.526 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006332/0.007241, allocations: 0.9025 MB / 0.5269 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.007348, allocations: 130.2 kB / 0.527 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.319e-05/0.007392, allocations: 46.8 kB / 0.527 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.007399, allocations: 4.938 kB / 0.527 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.00756, allocations: 179.6 kB / 0.5272 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 8.91e-07/0.007561, allocations: 0.8438 kB / 0.5272 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0002991/0.00786, allocations: 189.4 kB / 0.5274 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.007913, allocations: 137.7 kB / 0.5275 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.008087, allocations: 284.3 kB / 0.5278 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.008123, allocations: 37.7 kB / 0.5278 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.59e-05/0.008209, allocations: 175.9 kB / 0.528 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.008232, allocations: 31.73 kB / 0.528 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.008339, allocations: 105.1 kB / 0.5281 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.008448, allocations: 0.4962 MB / 0.5286 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.008658, allocations: 231 kB / 0.5288 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.008895, allocations: 348.3 kB / 0.5292 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.009156, allocations: 358.2 kB / 0.5295 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.009158, allocations: 0 / 0.5295 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000563/0.009721, allocations: 0.6218 MB / 0.5301 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.922e-05/0.00978, allocations: 138.8 kB / 0.5302 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.009785, allocations: 0 / 0.5302 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.009801, allocations: 6.75 kB / 0.5302 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.918e-05/0.00986, allocations: 19.92 kB / 0.5303 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.009868, allocations: 7.984 kB / 0.5303 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.01013, allocations: 85.44 kB / 0.5304 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.01017, allocations: 27.98 kB / 0.5304 GB, free: 7.297 MB / 0.4948 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.01027, allocations: 189 kB / 0.5306 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.0103, allocations: 30.11 kB / 0.5306 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.01033, allocations: 21.33 kB / 0.5306 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.01034, allocations: 4 kB / 0.5306 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.01034, allocations: 0 / 0.5306 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.01035, allocations: 4 kB / 0.5306 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.01048, allocations: 192.4 kB / 0.5308 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.01049, allocations: 0.875 kB / 0.5308 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.323e-05/0.01051, allocations: 15.94 kB / 0.5308 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01051, allocations: 1.594 kB / 0.5308 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.01052, allocations: 8 kB / 0.5308 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.01053, allocations: 8.703 kB / 0.5308 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01053, allocations: 0 / 0.5308 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004973/0.01102, allocations: 216 kB / 0.531 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.395e-05/0.01105, allocations: 27.83 kB / 0.5311 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.01106, allocations: 0 / 0.5311 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.953e-05/0.01109, allocations: 7.984 kB / 0.5311 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.01113, allocations: 15.97 kB / 0.5311 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.01114, allocations: 12 kB / 0.5311 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.81e-05/0.01122, allocations: 193.1 kB / 0.5313 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01122, allocations: 0 / 0.5313 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000221/0.01145, allocations: 75.06 kB / 0.5314 GB, free: 6.23 MB / 0.4948 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.000104/0.01155, allocations: 112.1 kB / 0.5315 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004401/0.01199, allocations: 0.5637 MB / 0.532 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01199, allocations: 0 / 0.532 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.983e-05/0.01205, allocations: 51.59 kB / 0.5321 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.01232, allocations: 69.45 kB / 0.5321 GB, free: 5.348 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.01271, allocations: 343 kB / 0.5325 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.295e-05/0.01275, allocations: 75.97 kB / 0.5325 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.609e-05/0.0128, allocations: 21.61 kB / 0.5326 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.01283, allocations: 20.5 kB / 0.5326 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.01283, allocations: 0 / 0.5326 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of Templates: time 0.006279/0.01911, allocations: 5.053 MB / 0.5375 GB, free: 56 kB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0845651449635625]