Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.001512/0.001512, allocations: 88.72 kB / 19.44 MB, free: 356 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.001975/0.001975, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.579/1.579, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.273/1.273, allocations: 154.6 MB / 414.2 MB, free: 0.6445 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5196 GB, free: 2.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.237e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00154/0.001562, allocations: 0.5386 MB / 0.5202 GB, free: 2.004 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 3.697e-05/0.001599, allocations: 0 / 0.5202 GB, free: 2.004 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.545e-05/0.001624, allocations: 4 kB / 0.5202 GB, free: 2 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.33e-05/0.001648, allocations: 0 / 0.5202 GB, free: 2 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.571e-05/0.001674, allocations: 1.094 kB / 0.5202 GB, free: 2 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.852e-05/0.001712, allocations: 0 / 0.5202 GB, free: 2 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.232e-05/0.001764, allocations: 8.484 kB / 0.5202 GB, free: 1.992 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.001803, allocations: 5.453 kB / 0.5202 GB, free: 1.988 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.451e-05/0.001828, allocations: 4.656 kB / 0.5202 GB, free: 1.984 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.936e-05/0.001847, allocations: 0 / 0.5202 GB, free: 1.984 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.00186, allocations: 0 / 0.5202 GB, free: 1.984 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.186e-06/0.001863, allocations: 3.938 kB / 0.5202 GB, free: 1.98 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.024e-05/0.001874, allocations: 0.9688 kB / 0.5202 GB, free: 1.98 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.876e-05/0.001892, allocations: 0 / 0.5202 GB, free: 1.98 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 5.086e-05/0.001943, allocations: 8.906 kB / 0.5202 GB, free: 1.973 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.001945, allocations: 0 / 0.5202 GB, free: 1.973 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.001945, allocations: 0 / 0.5202 GB, free: 1.973 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.001949, allocations: 1 kB / 0.5202 GB, free: 1.973 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003125/0.002261, allocations: 238.5 kB / 0.5204 GB, free: 1.707 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.002295, allocations: 9 kB / 0.5204 GB, free: 1.699 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.002326, allocations: 0.9375 kB / 0.5204 GB, free: 1.699 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.002439, allocations: 105.8 kB / 0.5205 GB, free: 1.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.00245, allocations: 0.9688 kB / 0.5205 GB, free: 1.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-06/0.002457, allocations: 0.875 kB / 0.5205 GB, free: 1.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.905e-05/0.002536, allocations: 30.95 kB / 0.5206 GB, free: 1.535 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.002543, allocations: 192 / 0.5206 GB, free: 1.535 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.002549, allocations: 1.594 kB / 0.5206 GB, free: 1.535 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.002553, allocations: 384 / 0.5206 GB, free: 1.535 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.824e-05/0.002571, allocations: 7.875 kB / 0.5206 GB, free: 1.527 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.002903, allocations: 331.8 kB / 0.5209 GB, free: 1.172 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.003018, allocations: 169.2 kB / 0.5211 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.003072, allocations: 85.95 kB / 0.5211 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.003116, allocations: 75.28 kB / 0.5212 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.659e-05/0.003183, allocations: 105.8 kB / 0.5213 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 7.02e-07/0.003184, allocations: 7.938 kB / 0.5213 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 8.027e-05/0.003264, allocations: 35.34 kB / 0.5214 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.857e-05/0.003342, allocations: 126.7 kB / 0.5215 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/0.003434, allocations: 89.86 kB / 0.5216 GB, free: 452 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.003453, allocations: 29.7 kB / 0.5216 GB, free: 416 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.003502, allocations: 81.55 kB / 0.5217 GB, free: 332 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.402e-06/0.003504, allocations: 3.938 kB / 0.5217 GB, free: 328 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.003531, allocations: 13.72 kB / 0.5217 GB, free: 308 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.00371, allocations: 310.8 kB / 0.522 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.512e-06/0.003717, allocations: 4.5 kB / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-06/0.003719, allocations: 0.75 kB / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/0.003759, allocations: 75.28 kB / 0.5221 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-05/0.003798, allocations: 76.75 kB / 0.5221 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.088e-05/0.003859, allocations: 37.62 kB / 0.5222 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.04e-05/0.003909, allocations: 79.28 kB / 0.5222 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.461e-05/0.003954, allocations: 83.22 kB / 0.5223 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001009/0.004055, allocations: 159.8 kB / 0.5225 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.995e-05/0.004095, allocations: 75.28 kB / 0.5225 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.247e-05/0.004177, allocations: 154.6 kB / 0.5227 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.051e-05/0.004258, allocations: 79.22 kB / 0.5228 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.004299, allocations: 79.84 kB / 0.5228 GB, free: 15.09 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001585/0.004458, allocations: 261.8 kB / 0.5231 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.942e-05/0.004547, allocations: 108.9 kB / 0.5232 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.742e-05/0.004615, allocations: 112 kB / 0.5233 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.6e-05/0.004711, allocations: 187 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001001/0.004811, allocations: 180.3 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.976e-05/0.004911, allocations: 184.3 kB / 0.5238 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.00517, allocations: 352.8 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-05/0.005228, allocations: 101 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.054e-05/0.005288, allocations: 108.9 kB / 0.5244 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000101/0.005389, allocations: 184.2 kB / 0.5245 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.005499, allocations: 179 kB / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.58e-05/0.005594, allocations: 184.1 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.599e-05/0.00569, allocations: 180.3 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.005877, allocations: 307.8 kB / 0.5254 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/0.005935, allocations: 101 kB / 0.5254 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.006039, allocations: 184.2 kB / 0.5256 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.705e-05/0.006136, allocations: 104.9 kB / 0.5257 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003173/0.006453, allocations: 185.3 kB / 0.5259 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/0.006514, allocations: 109 kB / 0.526 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.845e-05/0.006563, allocations: 80.22 kB / 0.5261 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.006563, allocations: 0 / 0.5261 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002678/0.006831, allocations: 7.891 kB / 0.5261 GB, free: 11.59 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000141/0.006972, allocations: 171.5 kB / 0.5263 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 3.45e-05/0.007006, allocations: 4.594 kB / 0.5263 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.007007, allocations: 0.6562 kB / 0.5263 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.007009, allocations: 0 / 0.5263 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.007458, allocations: 457.9 kB / 0.5267 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002573/0.007715, allocations: 159 kB / 0.5268 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.08e-05/0.007776, allocations: 56.61 kB / 0.5269 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.563e-06/0.007778, allocations: 0 / 0.5269 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.69e-05/0.007794, allocations: 8.5 kB / 0.5269 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.007795, allocations: 2.438 kB / 0.5269 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.001974/0.009769, allocations: 174.5 kB / 0.5271 GB, free: 10.53 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.910725601017475]