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.001956/0.001956, allocations: 89.48 kB / 19.44 MB, free: 336 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.002125/0.002125, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.552/1.552, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 1.357/1.357, allocations: 154.6 MB / 414.2 MB, free: 0.6289 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 178] 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 2.935e-06/2.935e-06, allocations: 0 / 0.5197 GB, free: 2.508 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.742e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002238/0.002275, allocations: 0.705 MB / 0.5204 GB, free: 1.816 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.004243, allocations: 1.162 MB / 0.5215 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.987e-05/0.004293, allocations: 0.75 kB / 0.5215 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.956e-05/0.004323, allocations: 3.938 kB / 0.5215 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.004428, allocations: 13.34 kB / 0.5215 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.004926, allocations: 127.6 kB / 0.5216 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.005161, allocations: 133.1 kB / 0.5218 GB, free: 380 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.218e-05/0.005253, allocations: 4 kB / 0.5218 GB, free: 376 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.00539, allocations: 63.89 kB / 0.5218 GB, free: 312 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.005508, allocations: 39.88 kB / 0.5219 GB, free: 272 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.005544, allocations: 12.75 kB / 0.5219 GB, free: 260 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.957e-05/0.005624, allocations: 27.98 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.005648, allocations: 11.09 kB / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.117e-05/0.005719, allocations: 27.98 kB / 0.5219 GB, free: 196 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.005994, allocations: 159.5 kB / 0.5221 GB, free: 36 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.005997, allocations: 0 / 0.5221 GB, free: 36 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.005999, allocations: 0 / 0.5221 GB, free: 36 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.006004, allocations: 0 / 0.5221 GB, free: 36 kB / 490.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.0006882/0.006692, allocations: 425.8 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.006735, allocations: 12.03 kB / 0.5225 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.765e-05/0.006803, allocations: 9.5 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.006976, allocations: 116.6 kB / 0.5226 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.006999, allocations: 8.891 kB / 0.5226 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.007023, allocations: 9.062 kB / 0.5226 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.007134, allocations: 42.25 kB / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.007144, allocations: 0.9062 kB / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.007153, allocations: 384 / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.007157, allocations: 1.844 kB / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.668e-05/0.007214, allocations: 19.88 kB / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.007726, allocations: 315.7 kB / 0.523 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.284e-05/0.007819, allocations: 36 kB / 0.523 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.007855, allocations: 19.69 kB / 0.5231 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.007877, allocations: 5.297 kB / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.008022, allocations: 80.92 kB / 0.5231 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.008023, allocations: 0 / 0.5231 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0002597/0.008283, allocations: 81.62 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.008334, allocations: 52.66 kB / 0.5233 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.008529, allocations: 201.4 kB / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.008557, allocations: 29.64 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.008671, allocations: 143.6 kB / 0.5236 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.00869, allocations: 11.94 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.465e-05/0.008775, allocations: 36.64 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003052/0.00908, allocations: 0.4884 MB / 0.5242 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.009218, allocations: 81.67 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.009375, allocations: 108.7 kB / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.009536, allocations: 106 kB / 0.5244 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.009538, allocations: 0.7812 kB / 0.5244 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003836/0.009922, allocations: 218.8 kB / 0.5246 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.479e-05/0.009977, allocations: 41.64 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.009982, allocations: 0 / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.009998, allocations: 0 / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.619e-05/0.01005, allocations: 4 kB / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.01006, allocations: 2.875 kB / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.01023, allocations: 19.97 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.01025, allocations: 4 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB 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 0.0001446/0.01039, allocations: 168.5 kB / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.417e-05/0.01042, allocations: 15.89 kB / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.01045, allocations: 7.984 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.01045, allocations: 6.75 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01046, allocations: 0 / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.01046, allocations: 0 / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.01061, allocations: 132.6 kB / 0.525 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01062, allocations: 0 / 0.525 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.01063, allocations: 3.938 kB / 0.525 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.01064, allocations: 11.92 kB / 0.525 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.01065, allocations: 3.938 kB / 0.525 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01065, allocations: 0.7812 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.01066, allocations: 4.062 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.01083, allocations: 97.45 kB / 0.5251 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.655e-05/0.01085, allocations: 11.95 kB / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.01087, allocations: 7.922 kB / 0.5252 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.882e-05/0.01088, allocations: 0.8125 kB / 0.5252 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.01093, allocations: 4 kB / 0.5252 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.01093, allocations: 0.5 kB / 0.5252 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001135/0.01104, allocations: 148 kB / 0.5253 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01104, allocations: 0 / 0.5253 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002141/0.01126, allocations: 16 kB / 0.5253 GB, free: 12.4 MB / 0.4948 GB 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.0002181/0.01148, allocations: 112.4 kB / 0.5254 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000349/0.01183, allocations: 186.3 kB / 0.5256 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01183, allocations: 0 / 0.5256 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.254e-05/0.01188, allocations: 27.62 kB / 0.5256 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.01213, allocations: 20.45 kB / 0.5257 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004076/0.01254, allocations: 154 kB / 0.5258 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.49e-05/0.01262, allocations: 67.34 kB / 0.5259 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.492e-05/0.01265, allocations: 6.688 kB / 0.5259 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.01268, allocations: 12.5 kB / 0.5259 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.01268, allocations: 0 / 0.5259 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.005205/0.01788, allocations: 1.488 MB / 0.5273 GB, free: 10.35 MB / 0.4948 GB " [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: 6.101379479980096]