Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008501/0.0008501, allocations: 89.06 kB / 19.65 MB, free: 268 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.001584/0.001584, allocations: 169 kB / 23.02 MB, free: 1.535 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 1.057/1.057, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7754/0.7754, allocations: 154.6 MB / 414.5 MB, free: 0.6602 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5203 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.22e-05, allocations: 2.859 kB / 0.5203 GB, free: 2.066 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001931/0.001954, allocations: 0.9387 MB / 0.5212 GB, free: 1.148 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.003963, allocations: 1.494 MB / 0.5227 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.763e-05/0.00405, allocations: 4 kB / 0.5227 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.906e-05/0.004099, allocations: 15.75 kB / 0.5227 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.004269, allocations: 63.5 kB / 0.5228 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009768/0.005245, allocations: 433.1 kB / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005899/0.005835, allocations: 496.6 kB / 0.5237 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.005966, allocations: 25.94 kB / 0.5237 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003057/0.006271, allocations: 267.6 kB / 0.5239 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.006507, allocations: 139.6 kB / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.388e-05/0.006581, allocations: 48.94 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.006692, allocations: 59.98 kB / 0.5242 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.267e-05/0.006734, allocations: 45.19 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.00688, allocations: 127.8 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004005/0.007281, allocations: 343.1 kB / 0.5247 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.007283, allocations: 0 / 0.5247 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.62e-07/0.007284, allocations: 1.156 kB / 0.5247 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.007288, allocations: 3.938 kB / 0.5247 GB, free: 13.62 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.000771/0.008059, allocations: 0.6547 MB / 0.5253 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.608e-05/0.008085, allocations: 8.719 kB / 0.5253 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.144e-05/0.008177, allocations: 44.78 kB / 0.5254 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.008395, allocations: 165 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/0.008446, allocations: 16.38 kB / 0.5255 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-05/0.008514, allocations: 24.31 kB / 0.5256 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.008694, allocations: 130.9 kB / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.008703, allocations: 192 / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.008714, allocations: 4.375 kB / 0.5257 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.008721, allocations: 384 / 0.5257 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.111e-05/0.008782, allocations: 36.53 kB / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006844/0.009466, allocations: 0.9082 MB / 0.5266 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.009587, allocations: 132.3 kB / 0.5267 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.593e-05/0.009633, allocations: 52.55 kB / 0.5268 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.009642, allocations: 4 kB / 0.5268 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.009821, allocations: 171.6 kB / 0.527 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.009822, allocations: 0 / 0.527 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0003317/0.01015, allocations: 194.8 kB / 0.5271 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.01021, allocations: 136.5 kB / 0.5273 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.01039, allocations: 276.3 kB / 0.5275 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.01042, allocations: 37.7 kB / 0.5276 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.605e-05/0.01051, allocations: 176.6 kB / 0.5277 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.01053, allocations: 35.72 kB / 0.5278 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.01065, allocations: 99.31 kB / 0.5279 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.01078, allocations: 0.5006 MB / 0.5284 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.011, allocations: 231 kB / 0.5286 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.01125, allocations: 356.3 kB / 0.5289 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.01152, allocations: 354.5 kB / 0.5293 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01152, allocations: 0 / 0.5293 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005901/0.01211, allocations: 0.6261 MB / 0.5299 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.189e-05/0.01218, allocations: 138.8 kB / 0.53 GB, free: 7.582 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01219, allocations: 4 kB / 0.53 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.0122, allocations: 4 kB / 0.53 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.062e-05/0.01227, allocations: 16 kB / 0.53 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.01228, allocations: 10.23 kB / 0.53 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.01261, allocations: 83.77 kB / 0.5301 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.865e-05/0.01267, allocations: 33 kB / 0.5301 GB, free: 7.438 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.0001287/0.0128, allocations: 186 kB / 0.5303 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.01283, allocations: 34.98 kB / 0.5304 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.01286, allocations: 13.34 kB / 0.5304 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.01287, allocations: 4 kB / 0.5304 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.01287, allocations: 0 / 0.5304 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.01288, allocations: 3.984 kB / 0.5304 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.01302, allocations: 192.5 kB / 0.5306 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.01302, allocations: 0 / 0.5306 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.76e-05/0.01306, allocations: 15.98 kB / 0.5306 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01306, allocations: 0 / 0.5306 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.01307, allocations: 6.781 kB / 0.5306 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.01308, allocations: 4 kB / 0.5306 GB, free: 6.945 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01308, allocations: 0.9375 kB / 0.5306 GB, free: 6.945 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.01329, allocations: 221.2 kB / 0.5308 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.01331, allocations: 19.89 kB / 0.5308 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.01333, allocations: 4 kB / 0.5308 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.709e-05/0.01336, allocations: 8 kB / 0.5308 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.0134, allocations: 17.53 kB / 0.5308 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.01341, allocations: 11.98 kB / 0.5309 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.902e-05/0.01351, allocations: 193.1 kB / 0.531 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01351, allocations: 0 / 0.531 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002578/0.01377, allocations: 77.17 kB / 0.5311 GB, free: 6.375 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.0001361/0.01391, allocations: 111.8 kB / 0.5312 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006539/0.01456, allocations: 0.5536 MB / 0.5318 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01456, allocations: 4 kB / 0.5318 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.373e-05/0.01463, allocations: 55.53 kB / 0.5318 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.01492, allocations: 74.28 kB / 0.5319 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004224/0.01535, allocations: 331.2 kB / 0.5322 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.105e-05/0.01539, allocations: 75.98 kB / 0.5323 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.339e-05/0.01543, allocations: 18.55 kB / 0.5323 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.01546, allocations: 25.05 kB / 0.5323 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of SimCode: time 8.51e-07/0.01546, allocations: 2.438 kB / 0.5323 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of Templates: time 0.006151/0.02162, allocations: 5.054 MB / 0.5373 GB, free: 216 kB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9334939112886786]