Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.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.0009685/0.0009685, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001332/0.0023, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.00115/0.00115, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001376/0.002526, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.007/1.007, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09814/1.105, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.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.7768/0.7768, allocations: 154.6 MB / 398.8 MB, free: 376 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2897/1.066, allocations: 49.04 MB / 447.8 MB, free: 6.551 MB / 426.7 MB " [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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.486e-06/3.486e-06, allocations: 3.984 kB / 449.2 MB, free: 5.215 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.36e-05, allocations: 2.312 kB / 449.2 MB, free: 5.211 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002101/0.002124, allocations: 0.7657 MB / 449.9 MB, free: 4.488 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.003404, allocations: 1.183 MB / 451.1 MB, free: 3.293 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/0.003446, allocations: 0 / 451.1 MB, free: 3.293 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.003469, allocations: 3.938 kB / 451.1 MB, free: 3.289 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.482e-05/0.003523, allocations: 24.25 kB / 451.2 MB, free: 3.27 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.003843, allocations: 125.3 kB / 451.3 MB, free: 3.148 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.004007, allocations: 120.7 kB / 451.4 MB, free: 3.043 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.245e-05/0.00408, allocations: 8.75 kB / 451.4 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.004194, allocations: 82.2 kB / 451.5 MB, free: 2.961 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.923e-05/0.004283, allocations: 26.81 kB / 451.5 MB, free: 2.938 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.004306, allocations: 12 kB / 451.5 MB, free: 2.926 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.261e-05/0.004378, allocations: 27.98 kB / 451.6 MB, free: 2.898 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.004399, allocations: 10.52 kB / 451.6 MB, free: 2.891 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.436e-05/0.004434, allocations: 22.19 kB / 451.6 MB, free: 2.871 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.004575, allocations: 90.77 kB / 451.7 MB, free: 2.785 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/0.004587, allocations: 0 / 451.7 MB, free: 2.785 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004588, allocations: 0 / 451.7 MB, free: 2.785 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.004601, allocations: 0 / 451.7 MB, free: 2.785 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004392/0.00504, allocations: 308.1 kB / 452 MB, free: 2.453 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.005073, allocations: 8.031 kB / 452 MB, free: 2.445 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.005117, allocations: 14.89 kB / 452 MB, free: 2.434 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.054e-05/0.005207, allocations: 105.8 kB / 452.1 MB, free: 2.305 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.005226, allocations: 4.375 kB / 452.1 MB, free: 2.301 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.005241, allocations: 4.375 kB / 452.1 MB, free: 2.297 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.949e-05/0.005321, allocations: 52.69 kB / 452.2 MB, free: 2.238 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.463e-06/0.005327, allocations: 4.844 kB / 452.2 MB, free: 2.234 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-06/0.005333, allocations: 384 / 452.2 MB, free: 2.234 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.005339, allocations: 1.5 kB / 452.2 MB, free: 2.234 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.925e-05/0.005358, allocations: 15.86 kB / 452.2 MB, free: 2.219 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002483/0.005607, allocations: 176.2 kB / 452.4 MB, free: 2.031 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.412e-05/0.005651, allocations: 23.27 kB / 452.4 MB, free: 2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.005668, allocations: 12.17 kB / 452.4 MB, free: 1.988 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.5e-06/0.005673, allocations: 0 / 452.4 MB, free: 1.988 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.622e-05/0.005759, allocations: 59.33 kB / 452.4 MB, free: 1.918 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.005761, allocations: 0.5625 kB / 452.4 MB, free: 1.918 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001139/0.005875, allocations: 58.83 kB / 452.5 MB, free: 1.855 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.005907, allocations: 59.34 kB / 452.6 MB, free: 1.785 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.253e-05/0.005979, allocations: 122.7 kB / 452.7 MB, free: 1.652 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.005997, allocations: 25.7 kB / 452.7 MB, free: 1.621 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.006038, allocations: 101 kB / 452.8 MB, free: 1.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.214e-05/0.00605, allocations: 3.953 kB / 452.8 MB, free: 1.516 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.00609, allocations: 35.5 kB / 452.8 MB, free: 1.477 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.756e-05/0.006168, allocations: 314.8 kB / 453.1 MB, free: 1.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.634e-05/0.006214, allocations: 53.69 kB / 453.2 MB, free: 1.102 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.359e-05/0.006268, allocations: 76.23 kB / 453.3 MB, free: 1.012 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.146e-05/0.006329, allocations: 73.12 kB / 453.3 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.006332, allocations: 4 kB / 453.4 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001547/0.006486, allocations: 149.8 kB / 453.5 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.948e-05/0.006526, allocations: 42.69 kB / 453.5 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.006531, allocations: 0 / 453.5 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.006543, allocations: 3.938 kB / 453.5 MB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.566e-05/0.006588, allocations: 5.312 kB / 453.5 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.006591, allocations: 80 / 453.5 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.817e-05/0.006689, allocations: 19.98 kB / 453.6 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.006711, allocations: 16.69 kB / 453.6 MB, free: 0.668 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 6.211e-05/0.006773, allocations: 111.1 kB / 453.7 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.796e-06/0.006781, allocations: 4 kB / 453.7 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.006807, allocations: 15.98 kB / 453.7 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.00681, allocations: 5 kB / 453.7 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.006812, allocations: 0 / 453.7 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.006815, allocations: 0 / 453.7 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.784e-05/0.006882, allocations: 75.03 kB / 453.8 MB, free: 444 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.006884, allocations: 1.312 kB / 453.8 MB, free: 444 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-05/0.006898, allocations: 4 kB / 453.8 MB, free: 440 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-06/0.006906, allocations: 8.609 kB / 453.8 MB, free: 432 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.006908, allocations: 4 kB / 453.8 MB, free: 428 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-06/0.006912, allocations: 1.531 kB / 453.8 MB, free: 428 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.006914, allocations: 3.938 kB / 453.8 MB, free: 424 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.8e-07/0.006914, allocations: 3.938 kB / 453.8 MB, free: 420 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.116e-05/0.006985, allocations: 73.11 kB / 453.9 MB, free: 328 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/0.006994, allocations: 1.469 kB / 453.9 MB, free: 328 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.161e-05/0.007005, allocations: 0 / 453.9 MB, free: 328 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.007026, allocations: 11.92 kB / 453.9 MB, free: 316 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.007029, allocations: 0 / 453.9 MB, free: 316 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.879e-05/0.007048, allocations: 18.95 kB / 453.9 MB, free: 296 kB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007048, allocations: 0 / 453.9 MB, free: 296 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001224/0.00717, allocations: 28.52 kB / 453.9 MB, free: 268 kB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001148/0.007285, allocations: 81.64 kB / 454 MB, free: 180 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.00742, allocations: 139.8 kB / 454.2 MB, free: 20 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.007424, allocations: 0 / 454.2 MB, free: 20 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.101e-05/0.007445, allocations: 17.34 kB / 454.2 MB, free: 0 / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.007595, allocations: 132.2 kB / 454.3 MB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/0.008002, allocations: 148.5 kB / 454.5 MB, free: 15.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.016e-05/0.008032, allocations: 59.97 kB / 454.5 MB, free: 15.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.391e-05/0.008056, allocations: 5.609 kB / 454.5 MB, free: 15.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.00813, allocations: 68.3 kB / 454.6 MB, free: 15.53 MB / 442.7 MB Notification: Performance of SimCode: time 5.51e-07/0.00813, allocations: 0 / 454.6 MB, free: 15.53 MB / 442.7 MB Notification: Performance of Templates: time 0.003137/0.01127, allocations: 1.637 MB / 456.2 MB, free: 14.01 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5988829862326384]