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.001061/0.001061, 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.001252/0.001252, allocations: 169 kB / 23.02 MB, free: 1.555 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.9787/0.9787, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.8162/0.8162, allocations: 154.6 MB / 414.5 MB, free: 0.6484 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 2.004e-06/2.004e-06, allocations: 0 / 0.5203 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.669e-05, allocations: 3.016 kB / 0.5203 GB, free: 2.164 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001208/0.001235, allocations: 0.5379 MB / 0.5209 GB, free: 1.645 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 4.747e-05/0.001282, allocations: 3.938 kB / 0.5209 GB, free: 1.641 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.001309, allocations: 0.9062 kB / 0.5209 GB, free: 1.641 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.001336, allocations: 0 / 0.5209 GB, free: 1.641 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.634e-05/0.001362, allocations: 0.625 kB / 0.5209 GB, free: 1.641 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.104e-05/0.001393, allocations: 0 / 0.5209 GB, free: 1.641 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.105e-05/0.001444, allocations: 2.422 kB / 0.5209 GB, free: 1.641 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.001486, allocations: 8.172 kB / 0.5209 GB, free: 1.633 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.552e-05/0.001512, allocations: 4.766 kB / 0.5209 GB, free: 1.629 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.731e-05/0.001529, allocations: 0 / 0.5209 GB, free: 1.629 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.001542, allocations: 1.219 kB / 0.5209 GB, free: 1.629 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.767e-06/0.001546, allocations: 0 / 0.5209 GB, free: 1.629 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.001557, allocations: 0.7656 kB / 0.5209 GB, free: 1.629 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.743e-05/0.001574, allocations: 4 kB / 0.5209 GB, free: 1.625 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 5.253e-05/0.001627, allocations: 1.656 kB / 0.5209 GB, free: 1.625 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.342e-06/0.001628, allocations: 0 / 0.5209 GB, free: 1.625 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.001629, allocations: 1.188 kB / 0.5209 GB, free: 1.625 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.001632, allocations: 0 / 0.5209 GB, free: 1.625 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.0002288/0.001861, allocations: 340.4 kB / 0.5212 GB, free: 1.254 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.001893, allocations: 8.75 kB / 0.5212 GB, free: 1.246 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.001925, allocations: 8.938 kB / 0.5212 GB, free: 1.238 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.19e-05/0.001997, allocations: 109.2 kB / 0.5213 GB, free: 1.105 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.002006, allocations: 5.375 kB / 0.5213 GB, free: 1.102 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.002015, allocations: 384 / 0.5213 GB, free: 1.102 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.501e-05/0.00208, allocations: 34.25 kB / 0.5214 GB, free: 1.062 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.002088, allocations: 0.875 kB / 0.5214 GB, free: 1.062 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.002095, allocations: 1.125 kB / 0.5214 GB, free: 1.062 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.002101, allocations: 384 / 0.5214 GB, free: 1.062 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.498e-06/0.002111, allocations: 7.188 kB / 0.5214 GB, free: 1.059 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.002331, allocations: 474.2 kB / 0.5218 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.49e-05/0.002405, allocations: 269.4 kB / 0.5221 GB, free: 288 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/0.002436, allocations: 126.9 kB / 0.5222 GB, free: 156 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.002462, allocations: 119.2 kB / 0.5223 GB, free: 36 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.204e-05/0.002514, allocations: 156.6 kB / 0.5225 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.002515, allocations: 0 / 0.5225 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 4.624e-05/0.002561, allocations: 33.58 kB / 0.5225 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.00261, allocations: 174.6 kB / 0.5227 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.032e-05/0.00268, allocations: 158.8 kB / 0.5228 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.002689, allocations: 26.27 kB / 0.5228 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.002726, allocations: 127.8 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.373e-06/0.002728, allocations: 0 / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/0.002746, allocations: 15.38 kB / 0.523 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.002852, allocations: 497.7 kB / 0.5235 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.747e-06/0.002855, allocations: 0 / 0.5235 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-06/0.002859, allocations: 0 / 0.5235 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.485e-05/0.002894, allocations: 123.2 kB / 0.5236 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.093e-05/0.002925, allocations: 120.2 kB / 0.5237 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.923e-05/0.002964, allocations: 34.05 kB / 0.5237 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.076e-05/0.003045, allocations: 127.2 kB / 0.5238 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.045e-05/0.003085, allocations: 129.1 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.031e-05/0.003145, allocations: 242.4 kB / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.859e-05/0.003174, allocations: 123.2 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.801e-05/0.003222, allocations: 242.4 kB / 0.5245 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.002e-05/0.003272, allocations: 123.2 kB / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.003296, allocations: 123.9 kB / 0.5248 GB, free: 13.43 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.577e-05/0.003392, allocations: 395 kB / 0.5252 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.003436, allocations: 153.6 kB / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.95e-05/0.003485, allocations: 160.3 kB / 0.5255 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-05/0.003541, allocations: 264.1 kB / 0.5257 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-05/0.003595, allocations: 272.7 kB / 0.526 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.362e-05/0.003649, allocations: 264.1 kB / 0.5262 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.003801, allocations: 0.4896 MB / 0.5267 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.999e-05/0.003841, allocations: 152.8 kB / 0.5268 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.147e-05/0.003872, allocations: 144.9 kB / 0.527 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.694e-05/0.003939, allocations: 272 kB / 0.5272 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.26e-05/0.004002, allocations: 268.8 kB / 0.5275 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.649e-05/0.004058, allocations: 272 kB / 0.5278 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.383e-05/0.004112, allocations: 273.6 kB / 0.528 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.004226, allocations: 443.9 kB / 0.5284 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.004277, allocations: 148.9 kB / 0.5286 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.893e-05/0.004335, allocations: 272.1 kB / 0.5288 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.028e-05/0.004416, allocations: 155.5 kB / 0.529 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.00447, allocations: 264.1 kB / 0.5292 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/0.004501, allocations: 153.2 kB / 0.5294 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.394e-05/0.004535, allocations: 123.2 kB / 0.5295 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004535, allocations: 0 / 0.5295 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001496/0.004685, allocations: 0 / 0.5295 GB, free: 8.398 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.365e-05/0.004768, allocations: 216.5 kB / 0.5297 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 3.315e-05/0.004801, allocations: 0 / 0.5297 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.004803, allocations: 0 / 0.5297 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.004804, allocations: 0 / 0.5297 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.005144, allocations: 0.7071 MB / 0.5304 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001609/0.005305, allocations: 212.5 kB / 0.5306 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.91e-05/0.005334, allocations: 60.06 kB / 0.5307 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.764e-06/0.005336, allocations: 0 / 0.5307 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.665e-06/0.005344, allocations: 9.531 kB / 0.5307 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of SimCode: time 4.71e-07/0.005344, allocations: 0 / 0.5307 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of Templates: time 0.001934/0.007278, allocations: 166.2 kB / 0.5308 GB, free: 6.988 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.868037178181112]