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.001151/0.001151, allocations: 92.22 kB / 19.65 MB, free: 276 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.001352/0.001352, allocations: 173 kB / 23.02 MB, free: 1.547 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.9515/0.9515, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.7522/0.7522, allocations: 154.6 MB / 414.5 MB, free: 0.6719 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 3.226e-06/3.226e-06, allocations: 0 / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.458e-05/3.78e-05, allocations: 7.203 kB / 0.5203 GB, free: 2.184 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.00157/0.001607, allocations: 0.9278 MB / 0.5212 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.003196, allocations: 1.497 MB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.335e-05/0.00327, allocations: 0 / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.225e-05/0.003312, allocations: 19.75 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.003454, allocations: 60.17 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007544/0.004209, allocations: 433.4 kB / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004215/0.00463, allocations: 493.1 kB / 0.5237 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.004741, allocations: 33.92 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.004963, allocations: 267.6 kB / 0.524 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.005133, allocations: 131.7 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.652e-05/0.005189, allocations: 48 kB / 0.5241 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.0053, allocations: 59.98 kB / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.163e-05/0.005341, allocations: 44.84 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.005448, allocations: 127.8 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.005752, allocations: 347.1 kB / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.005755, allocations: 1.406 kB / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.243e-06/0.005756, allocations: 3.938 kB / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.005761, allocations: 0 / 0.5247 GB, free: 13.75 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.0006371/0.006398, allocations: 0.6515 MB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.006435, allocations: 12.03 kB / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.744e-05/0.006522, allocations: 41.66 kB / 0.5254 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.00666, allocations: 167.7 kB / 0.5255 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.006689, allocations: 16.38 kB / 0.5255 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.006723, allocations: 17.38 kB / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.006878, allocations: 135.4 kB / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.006886, allocations: 0.8125 kB / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.006898, allocations: 384 / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.006907, allocations: 4.875 kB / 0.5257 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.426e-05/0.006962, allocations: 39.83 kB / 0.5257 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006369/0.007599, allocations: 0.9074 MB / 0.5266 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.007712, allocations: 133.7 kB / 0.5267 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.568e-05/0.007757, allocations: 51.42 kB / 0.5268 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.007765, allocations: 0 / 0.5268 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.007924, allocations: 176.8 kB / 0.527 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 9.62e-07/0.007925, allocations: 0 / 0.527 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0003018/0.008227, allocations: 189.3 kB / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.008287, allocations: 138.3 kB / 0.5273 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.008459, allocations: 280.3 kB / 0.5275 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.008494, allocations: 37.7 kB / 0.5276 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.416e-05/0.008578, allocations: 183.3 kB / 0.5278 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.008601, allocations: 29.5 kB / 0.5278 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.008703, allocations: 99.31 kB / 0.5279 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.008814, allocations: 0.5001 MB / 0.5284 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.009023, allocations: 227 kB / 0.5286 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.009252, allocations: 360.9 kB / 0.5289 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.009508, allocations: 354 kB / 0.5293 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.009511, allocations: 4 kB / 0.5293 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007012/0.01021, allocations: 0.628 MB / 0.5299 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.716e-05/0.01028, allocations: 138.7 kB / 0.53 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.01029, allocations: 4 kB / 0.53 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.0103, allocations: 4 kB / 0.53 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.23e-05/0.01036, allocations: 12 kB / 0.53 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.01037, allocations: 11.92 kB / 0.53 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.01063, allocations: 82.84 kB / 0.5301 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.01066, allocations: 31.97 kB / 0.5302 GB, free: 7.566 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.0001074/0.01077, allocations: 182.6 kB / 0.5303 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.0108, allocations: 35.78 kB / 0.5304 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.01083, allocations: 17.34 kB / 0.5304 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01083, allocations: 0 / 0.5304 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.01084, allocations: 4 kB / 0.5304 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.01084, allocations: 5.391 kB / 0.5304 GB, free: 7.316 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.01097, allocations: 188.4 kB / 0.5306 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01098, allocations: 4 kB / 0.5306 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-05/0.011, allocations: 17.27 kB / 0.5306 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.011, allocations: 0.9375 kB / 0.5306 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.01101, allocations: 4 kB / 0.5306 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.01101, allocations: 0 / 0.5306 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01102, allocations: 0.6562 kB / 0.5306 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.0112, allocations: 221.8 kB / 0.5308 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.201e-05/0.01122, allocations: 23.83 kB / 0.5308 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.01124, allocations: 4.5 kB / 0.5308 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.093e-05/0.01127, allocations: 10.72 kB / 0.5308 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.01131, allocations: 19.95 kB / 0.5309 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.01132, allocations: 8 kB / 0.5309 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.832e-05/0.0114, allocations: 193.1 kB / 0.5311 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.0114, allocations: 0 / 0.5311 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002147/0.01162, allocations: 71.89 kB / 0.5311 GB, free: 6.504 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.0001266/0.01175, allocations: 113.6 kB / 0.5312 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004233/0.01217, allocations: 0.5632 MB / 0.5318 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.01217, allocations: 1.531 kB / 0.5318 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.882e-05/0.01223, allocations: 51.61 kB / 0.5318 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.0125, allocations: 70.91 kB / 0.5319 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.01291, allocations: 336.6 kB / 0.5322 GB, free: 5.254 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.242e-05/0.01295, allocations: 75.98 kB / 0.5323 GB, free: 5.16 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.541e-05/0.013, allocations: 21.62 kB / 0.5323 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.01303, allocations: 22.75 kB / 0.5323 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.01303, allocations: 0 / 0.5323 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of Templates: time 0.00686/0.01989, allocations: 5.483 MB / 0.5377 GB, free: 15.91 MB / 0.5105 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.5852058585733175]