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.001118/0.001118, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.00123/0.00123, allocations: 173 kB / 23.49 MB, free: 1.059 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.025/1.025, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.7936/0.7936, allocations: 154.6 MB / 414.9 MB, free: 0.707 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.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.984e-06/1.984e-06, allocations: 0 / 0.5203 GB, free: 2.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.225e-05, allocations: 4.141 kB / 0.5204 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001642/0.001664, allocations: 0.5368 MB / 0.5209 GB, free: 2.004 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 5.114e-05/0.001715, allocations: 6.516 kB / 0.5209 GB, free: 2 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.00175, allocations: 0 / 0.5209 GB, free: 2 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.092e-05/0.00178, allocations: 0 / 0.5209 GB, free: 2 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.123e-05/0.001812, allocations: 0 / 0.5209 GB, free: 2 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.794e-05/0.00185, allocations: 0 / 0.5209 GB, free: 2 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.627e-05/0.001916, allocations: 5.312 kB / 0.5209 GB, free: 1.996 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.248e-05/0.001968, allocations: 4.688 kB / 0.5209 GB, free: 1.992 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.193e-05/0.002, allocations: 3.938 kB / 0.5209 GB, free: 1.988 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.691e-05/0.002027, allocations: 5.031 kB / 0.5209 GB, free: 1.984 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.002047, allocations: 0 / 0.5209 GB, free: 1.984 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.228e-06/0.002051, allocations: 0 / 0.5209 GB, free: 1.984 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.002069, allocations: 1.125 kB / 0.5209 GB, free: 1.984 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.973e-05/0.002089, allocations: 0 / 0.5209 GB, free: 1.984 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.868e-05/0.002157, allocations: 7.938 kB / 0.5209 GB, free: 1.977 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.00216, allocations: 0.625 kB / 0.5209 GB, free: 1.977 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.00216, allocations: 1.375 kB / 0.5209 GB, free: 1.977 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.002165, allocations: 0 / 0.5209 GB, free: 1.977 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.0002932/0.002458, allocations: 340.4 kB / 0.5212 GB, free: 1.605 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.002504, allocations: 8.031 kB / 0.5212 GB, free: 1.598 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.002545, allocations: 5.5 kB / 0.5212 GB, free: 1.594 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.002649, allocations: 109.3 kB / 0.5214 GB, free: 1.461 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.002663, allocations: 384 / 0.5214 GB, free: 1.461 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.956e-06/0.002672, allocations: 1.625 kB / 0.5214 GB, free: 1.461 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.075e-05/0.002753, allocations: 34.25 kB / 0.5214 GB, free: 1.422 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.00276, allocations: 192 / 0.5214 GB, free: 1.422 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.002768, allocations: 1.25 kB / 0.5214 GB, free: 1.422 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.002777, allocations: 384 / 0.5214 GB, free: 1.422 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.215e-05/0.00279, allocations: 5.062 kB / 0.5214 GB, free: 1.418 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003122/0.003102, allocations: 474.1 kB / 0.5218 GB, free: 0.918 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.003206, allocations: 265.5 kB / 0.5221 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.362e-05/0.00325, allocations: 127.6 kB / 0.5222 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.00328, allocations: 119.2 kB / 0.5223 GB, free: 408 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.574e-05/0.003336, allocations: 165.3 kB / 0.5225 GB, free: 232 kB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.003337, allocations: 3.938 kB / 0.5225 GB, free: 228 kB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 6.917e-05/0.003406, allocations: 34.33 kB / 0.5225 GB, free: 188 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/0.003472, allocations: 170.6 kB / 0.5227 GB, free: 4 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.003582, allocations: 154.9 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.003591, allocations: 32.39 kB / 0.5229 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.003639, allocations: 126.9 kB / 0.523 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.003641, allocations: 0 / 0.523 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.376e-05/0.003665, allocations: 15.38 kB / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.003798, allocations: 496.1 kB / 0.5235 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.591e-06/0.003803, allocations: 0 / 0.5235 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.366e-06/0.003807, allocations: 0 / 0.5235 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.641e-05/0.003843, allocations: 123.2 kB / 0.5236 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.241e-05/0.003876, allocations: 120.5 kB / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.811e-05/0.003934, allocations: 33.98 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.382e-05/0.003978, allocations: 123.2 kB / 0.5239 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.852e-05/0.004016, allocations: 127.7 kB / 0.524 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.954e-05/0.004096, allocations: 246.3 kB / 0.5242 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.174e-05/0.004127, allocations: 120.3 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.403e-05/0.004191, allocations: 242.4 kB / 0.5246 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.603e-05/0.004267, allocations: 128.4 kB / 0.5247 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.004301, allocations: 127.2 kB / 0.5248 GB, free: 13.78 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.0001253/0.004427, allocations: 395 kB / 0.5252 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.211e-05/0.004489, allocations: 153.4 kB / 0.5253 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/0.004546, allocations: 151.8 kB / 0.5255 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.914e-05/0.004615, allocations: 269.3 kB / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.271e-05/0.004688, allocations: 272.1 kB / 0.526 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-05/0.004757, allocations: 264.1 kB / 0.5262 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.004976, allocations: 0.4889 MB / 0.5267 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.054e-05/0.005017, allocations: 148.9 kB / 0.5269 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.425e-05/0.005061, allocations: 153.8 kB / 0.527 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-05/0.005134, allocations: 268.1 kB / 0.5273 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.439e-05/0.005208, allocations: 264.1 kB / 0.5275 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.515e-05/0.005284, allocations: 274.7 kB / 0.5278 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.347e-05/0.005367, allocations: 272.1 kB / 0.528 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.005516, allocations: 447.9 kB / 0.5285 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.005558, allocations: 144.9 kB / 0.5286 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.867e-05/0.005637, allocations: 276 kB / 0.5289 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.34e-05/0.00572, allocations: 156.8 kB / 0.529 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.715e-05/0.005797, allocations: 268 kB / 0.5293 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.00584, allocations: 151.9 kB / 0.5294 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.37e-05/0.005884, allocations: 119.2 kB / 0.5295 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.005884, allocations: 0 / 0.5295 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002888/0.006172, allocations: 0 / 0.5295 GB, free: 8.754 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.0001136/0.006286, allocations: 214.4 kB / 0.5297 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.654e-05/0.006333, allocations: 1.219 kB / 0.5297 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.006334, allocations: 3.938 kB / 0.5297 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.006335, allocations: 0 / 0.5297 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.00675, allocations: 0.7128 MB / 0.5304 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002512/0.007001, allocations: 212 kB / 0.5306 GB, free: 7.582 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.831e-05/0.00704, allocations: 51.36 kB / 0.5307 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.364e-06/0.007042, allocations: 4 kB / 0.5307 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.449e-05/0.007057, allocations: 8.5 kB / 0.5307 GB, free: 7.5 MB / 0.4948 GB Notification: Performance of SimCode: time 9.72e-07/0.007057, allocations: 0 / 0.5307 GB, free: 7.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.001731/0.008788, allocations: 174.2 kB / 0.5309 GB, free: 7.336 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.743078876985237]