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.0009076/0.0009076, 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.0009522/0.0009522, allocations: 173 kB / 23.03 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.9167/0.9167, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.7659/0.7659, allocations: 154.6 MB / 414.5 MB, free: 0.6875 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.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 1.453e-06/1.453e-06, allocations: 0 / 0.5204 GB, free: 1.078 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.756e-05, allocations: 4.141 kB / 0.5204 GB, free: 1.074 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001124/0.001142, allocations: 0.7167 MB / 0.5211 GB, free: 388 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.002189, allocations: 1.176 MB / 0.5222 GB, free: 15.19 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.002229, allocations: 0 / 0.5222 GB, free: 15.19 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.002259, allocations: 4.812 kB / 0.5222 GB, free: 15.19 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.755e-05/0.002337, allocations: 17.41 kB / 0.5222 GB, free: 15.17 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.0027, allocations: 132.2 kB / 0.5224 GB, free: 15.04 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.002843, allocations: 125 kB / 0.5225 GB, free: 14.92 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.674e-05/0.00292, allocations: 8 kB / 0.5225 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.179e-05/0.003001, allocations: 67.88 kB / 0.5226 GB, free: 14.85 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.126e-05/0.003083, allocations: 36.86 kB / 0.5226 GB, free: 14.81 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.003105, allocations: 12 kB / 0.5226 GB, free: 14.8 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.465e-05/0.003159, allocations: 23.98 kB / 0.5226 GB, free: 14.78 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.003176, allocations: 4.969 kB / 0.5226 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.764e-05/0.003224, allocations: 39.91 kB / 0.5227 GB, free: 14.73 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.003356, allocations: 99.7 kB / 0.5228 GB, free: 14.64 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.003358, allocations: 1 kB / 0.5228 GB, free: 14.64 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003358, allocations: 0 / 0.5228 GB, free: 14.64 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.003362, allocations: 0.9688 kB / 0.5228 GB, free: 14.64 MB / 458.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.0003829/0.003745, allocations: 422.1 kB / 0.5232 GB, free: 14.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.003777, allocations: 8.031 kB / 0.5232 GB, free: 14.17 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/0.003828, allocations: 13.88 kB / 0.5232 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.965e-05/0.003918, allocations: 116.6 kB / 0.5233 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.003937, allocations: 5.594 kB / 0.5233 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.003951, allocations: 4.375 kB / 0.5233 GB, free: 14.01 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.543e-05/0.004027, allocations: 54.95 kB / 0.5234 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.004034, allocations: 0.8125 kB / 0.5234 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.004047, allocations: 4.312 kB / 0.5234 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.004053, allocations: 2.188 kB / 0.5234 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.328e-05/0.004076, allocations: 7.938 kB / 0.5234 GB, free: 13.94 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.004369, allocations: 307.7 kB / 0.5237 GB, free: 13.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.805e-05/0.004417, allocations: 35.05 kB / 0.5237 GB, free: 13.55 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/0.004433, allocations: 9.25 kB / 0.5237 GB, free: 13.54 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.00444, allocations: 3.938 kB / 0.5237 GB, free: 13.54 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.465e-05/0.004514, allocations: 81.02 kB / 0.5238 GB, free: 13.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.004515, allocations: 0 / 0.5238 GB, free: 13.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001492/0.004664, allocations: 58.97 kB / 0.5239 GB, free: 13.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.004694, allocations: 51.41 kB / 0.5239 GB, free: 13.32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.404e-05/0.004778, allocations: 196.9 kB / 0.5241 GB, free: 13.11 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.004793, allocations: 30.33 kB / 0.5241 GB, free: 13.08 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.004841, allocations: 138.9 kB / 0.5242 GB, free: 12.94 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.004853, allocations: 12.64 kB / 0.5243 GB, free: 12.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.004896, allocations: 35.36 kB / 0.5243 GB, free: 12.88 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.368e-05/0.00499, allocations: 0.4898 MB / 0.5248 GB, free: 12.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.964e-05/0.005049, allocations: 57.67 kB / 0.5248 GB, free: 12.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.316e-05/0.005112, allocations: 88.75 kB / 0.5249 GB, free: 12.21 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.831e-05/0.005181, allocations: 85.75 kB / 0.525 GB, free: 12.11 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.005183, allocations: 0 / 0.525 GB, free: 12.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001633/0.005346, allocations: 186.8 kB / 0.5252 GB, free: 11.91 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.005373, allocations: 41.64 kB / 0.5252 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.005377, allocations: 0 / 0.5252 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.005391, allocations: 4 kB / 0.5252 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.333e-05/0.005434, allocations: 5.922 kB / 0.5252 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.005439, allocations: 4 kB / 0.5252 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.508e-05/0.005534, allocations: 15.98 kB / 0.5252 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.005546, allocations: 4.078 kB / 0.5252 GB, free: 11.84 MB / 458.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.661e-05/0.005613, allocations: 167.3 kB / 0.5254 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.005623, allocations: 11.89 kB / 0.5254 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.046e-05/0.005643, allocations: 8 kB / 0.5254 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.005645, allocations: 0 / 0.5254 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.005648, allocations: 0 / 0.5254 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.005651, allocations: 0 / 0.5254 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.924e-05/0.00572, allocations: 128.6 kB / 0.5255 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.005721, allocations: 1.719 kB / 0.5255 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.876e-06/0.00573, allocations: 7.938 kB / 0.5256 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.005731, allocations: 0 / 0.5256 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.005737, allocations: 3.938 kB / 0.5256 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.005738, allocations: 4.922 kB / 0.5256 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.00574, allocations: 0 / 0.5256 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.898e-05/0.005819, allocations: 96.39 kB / 0.5257 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.005829, allocations: 8.828 kB / 0.5257 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.00584, allocations: 8 kB / 0.5257 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.819e-06/0.005849, allocations: 0.875 kB / 0.5257 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.005874, allocations: 0 / 0.5257 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.005879, allocations: 8.594 kB / 0.5257 GB, free: 11.32 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.497e-05/0.005924, allocations: 135.2 kB / 0.5258 GB, free: 11.19 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.005924, allocations: 0.625 kB / 0.5258 GB, free: 11.19 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001442/0.006068, allocations: 27.94 kB / 0.5258 GB, free: 11.16 MB / 458.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 9.327e-05/0.006162, allocations: 110.1 kB / 0.5259 GB, free: 11.05 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.00632, allocations: 144.8 kB / 0.5261 GB, free: 10.89 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.006322, allocations: 0 / 0.5261 GB, free: 10.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.236e-05/0.006344, allocations: 19.62 kB / 0.5261 GB, free: 10.86 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.006495, allocations: 23.05 kB / 0.5261 GB, free: 10.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002218/0.006717, allocations: 138.2 kB / 0.5263 GB, free: 10.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.778e-05/0.006745, allocations: 59.34 kB / 0.5263 GB, free: 10.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.854e-05/0.006763, allocations: 4 kB / 0.5263 GB, free: 10.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.629e-05/0.00678, allocations: 12.5 kB / 0.5263 GB, free: 10.59 MB / 458.7 MB Notification: Performance of SimCode: time 4.5e-07/0.00678, allocations: 0 / 0.5263 GB, free: 10.59 MB / 458.7 MB Notification: Performance of Templates: time 0.002853/0.009633, allocations: 1.605 MB / 0.5279 GB, free: 9.086 MB / 458.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.463892719242722]