Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.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.001283/0.001283, allocations: 92.22 kB / 19.65 MB, free: 276 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.001462/0.001462, allocations: 173 kB / 23.02 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.9517/0.9517, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7571/0.7571, 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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5203 GB, free: 2.223 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.817e-05, allocations: 4.281 kB / 0.5203 GB, free: 2.219 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0009922/0.00101, allocations: 0.5343 MB / 0.5208 GB, free: 1.703 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 4.297e-05/0.001053, allocations: 0 / 0.5208 GB, free: 1.703 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.151e-05/0.001075, allocations: 4 kB / 0.5208 GB, free: 1.699 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.001106, allocations: 5.75 kB / 0.5209 GB, free: 1.695 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.639e-05/0.001133, allocations: 0 / 0.5209 GB, free: 1.695 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.154e-05/0.001164, allocations: 5.031 kB / 0.5209 GB, free: 1.691 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.064e-05/0.001215, allocations: 0 / 0.5209 GB, free: 1.691 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.148e-05/0.001256, allocations: 8.172 kB / 0.5209 GB, free: 1.684 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.61e-05/0.001282, allocations: 1.875 kB / 0.5209 GB, free: 1.684 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.73e-05/0.0013, allocations: 0 / 0.5209 GB, free: 1.684 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.001315, allocations: 0.625 kB / 0.5209 GB, free: 1.684 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.928e-06/0.001319, allocations: 0 / 0.5209 GB, free: 1.684 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.208e-05/0.001331, allocations: 1.219 kB / 0.5209 GB, free: 1.684 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.628e-05/0.001348, allocations: 0 / 0.5209 GB, free: 1.684 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 5.436e-05/0.001402, allocations: 6.141 kB / 0.5209 GB, free: 1.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.001404, allocations: 0 / 0.5209 GB, free: 1.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.001404, allocations: 0 / 0.5209 GB, free: 1.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.676e-06/0.001408, allocations: 1.812 kB / 0.5209 GB, free: 1.68 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.0002334/0.001641, allocations: 344.4 kB / 0.5212 GB, free: 1.305 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.001677, allocations: 8.797 kB / 0.5212 GB, free: 1.297 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.001706, allocations: 0.9375 kB / 0.5212 GB, free: 1.297 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.341e-05/0.00178, allocations: 108.6 kB / 0.5213 GB, free: 1.164 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.669e-06/0.00179, allocations: 2.094 kB / 0.5213 GB, free: 1.164 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.001797, allocations: 384 / 0.5213 GB, free: 1.164 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.48e-05/0.001862, allocations: 34.2 kB / 0.5214 GB, free: 1.125 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.001868, allocations: 192 / 0.5214 GB, free: 1.125 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.001876, allocations: 5.062 kB / 0.5214 GB, free: 1.121 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.001882, allocations: 384 / 0.5214 GB, free: 1.121 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.497e-06/0.001892, allocations: 5.344 kB / 0.5214 GB, free: 1.117 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002412/0.002133, allocations: 474.2 kB / 0.5218 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.987e-05/0.002213, allocations: 269.4 kB / 0.5221 GB, free: 348 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.002244, allocations: 126.9 kB / 0.5222 GB, free: 216 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.002268, allocations: 124.5 kB / 0.5223 GB, free: 92 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/0.002317, allocations: 152.6 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.002318, allocations: 0 / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 4.803e-05/0.002366, allocations: 35.27 kB / 0.5225 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.002421, allocations: 170.6 kB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.018e-05/0.002491, allocations: 153.9 kB / 0.5228 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.906e-06/0.0025, allocations: 31.92 kB / 0.5228 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.002534, allocations: 130.9 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.002535, allocations: 0 / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/0.002553, allocations: 15.38 kB / 0.523 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.753e-05/0.002651, allocations: 496.1 kB / 0.5234 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.078e-06/0.002655, allocations: 0 / 0.5234 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.488e-06/0.002659, allocations: 8 kB / 0.5235 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.632e-05/0.002685, allocations: 119.8 kB / 0.5236 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-05/0.002707, allocations: 119.8 kB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.822e-05/0.002735, allocations: 26.05 kB / 0.5237 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/0.002769, allocations: 128.1 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001302/0.002899, allocations: 131 kB / 0.524 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.205e-05/0.002951, allocations: 238.9 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.566e-05/0.002977, allocations: 124.8 kB / 0.5243 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-05/0.003024, allocations: 246.3 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.64e-05/0.00307, allocations: 123.2 kB / 0.5247 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.003094, allocations: 127.1 kB / 0.5248 GB, free: 13.48 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 9.214e-05/0.003186, allocations: 392 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.003226, allocations: 148.9 kB / 0.5253 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.585e-05/0.003272, allocations: 160.7 kB / 0.5254 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.104e-05/0.003323, allocations: 264.1 kB / 0.5257 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.331e-05/0.003376, allocations: 268.1 kB / 0.526 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.098e-05/0.003427, allocations: 279.2 kB / 0.5262 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.003571, allocations: 491.9 kB / 0.5267 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-05/0.003602, allocations: 156.8 kB / 0.5268 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.808e-05/0.00363, allocations: 144.9 kB / 0.527 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.055e-05/0.003681, allocations: 268.1 kB / 0.5272 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.844e-05/0.003739, allocations: 276 kB / 0.5275 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.378e-05/0.003793, allocations: 268 kB / 0.5277 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.533e-05/0.003849, allocations: 268 kB / 0.528 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.003962, allocations: 451 kB / 0.5284 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.003998, allocations: 156.8 kB / 0.5286 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.043e-05/0.004058, allocations: 268.1 kB / 0.5288 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.054e-05/0.004109, allocations: 152.8 kB / 0.529 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.004167, allocations: 264.1 kB / 0.5292 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.004196, allocations: 145.2 kB / 0.5294 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.359e-05/0.00423, allocations: 131.1 kB / 0.5295 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.00423, allocations: 0 / 0.5295 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001427/0.004373, allocations: 1.5 kB / 0.5295 GB, free: 8.453 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 8.6e-05/0.004459, allocations: 214.4 kB / 0.5297 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 3.485e-05/0.004494, allocations: 4.5 kB / 0.5297 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.004495, allocations: 2.531 kB / 0.5297 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.004496, allocations: 0 / 0.5297 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.004768, allocations: 0.7023 MB / 0.5304 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001991/0.004967, allocations: 212.6 kB / 0.5306 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.199e-05/0.004999, allocations: 59.28 kB / 0.5307 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.854e-06/0.005, allocations: 0 / 0.5307 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.017e-05/0.005011, allocations: 10.94 kB / 0.5307 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of SimCode: time 3.71e-07/0.005011, allocations: 4 kB / 0.5307 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of Templates: time 0.001347/0.006358, allocations: 171.6 kB / 0.5308 GB, free: 7.035 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.527839781716466]