Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.0007072/0.0007072, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009612/0.001668, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007016/0.0007016, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009237/0.001625, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9648/0.9648, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08118/1.046, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.779/0.779, allocations: 154.6 MB / 398.5 MB, free: 0.5195 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3724/1.151, allocations: 49.04 MB / 447.6 MB, free: 6.688 MB / 426.7 MB " [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.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.02e-07/8.02e-07, allocations: 0 / 448.9 MB, free: 5.398 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/1.925e-05, allocations: 9.969 kB / 448.9 MB, free: 5.391 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.02086/0.02088, allocations: 32.41 MB / 481.3 MB, free: 4.953 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01511/0.03599, allocations: 9.943 MB / 491.2 MB, free: 11.1 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001746/0.03773, allocations: 171.9 kB / 491.4 MB, free: 10.93 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.03874, allocations: 0.8023 MB / 492.2 MB, free: 10.12 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0034/0.04214, allocations: 2.63 MB / 494.8 MB, free: 7.504 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002803/0.04494, allocations: 2.217 MB / 497.1 MB, free: 5.312 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.005013/0.04996, allocations: 6.506 MB / 0.4918 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002093/0.05205, allocations: 1.955 MB / 0.4937 GB, free: 12.79 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003317/0.05536, allocations: 3.534 MB / 0.4971 GB, free: 9.262 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/0.05666, allocations: 1.474 MB / 0.4986 GB, free: 7.785 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002337/0.05689, allocations: 240 kB / 0.4988 GB, free: 7.551 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.05801, allocations: 0.7305 MB / 0.4995 GB, free: 6.82 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003618/0.05837, allocations: 0.4941 MB / 0.5 GB, free: 6.324 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007747/0.05915, allocations: 0.8148 MB / 0.5008 GB, free: 5.508 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002256/0.0614, allocations: 2.208 MB / 0.5029 GB, free: 3.293 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.142e-05/0.06142, allocations: 0 / 0.5029 GB, free: 3.293 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.06143, allocations: 0.5312 kB / 0.5029 GB, free: 3.293 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.281e-05/0.06147, allocations: 0.9688 kB / 0.5029 GB, free: 3.293 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: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.003455/0.06492, allocations: 3.647 MB / 0.5065 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.06496, allocations: 8.031 kB / 0.5065 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.06665, allocations: 0.7266 MB / 0.5072 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/0.06851, allocations: 1.532 MB / 0.5087 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-05/0.06859, allocations: 127.9 kB / 0.5088 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.06873, allocations: 164 kB / 0.509 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.07012, allocations: 1.311 MB / 0.5103 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.07015, allocations: 3.938 kB / 0.5103 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.324e-05/0.07023, allocations: 60 kB / 0.5103 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.07025, allocations: 40.94 kB / 0.5104 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006771/0.07093, allocations: 0.5143 MB / 0.5109 GB, free: 10.95 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004458/0.07539, allocations: 4.51 MB / 0.5153 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009628/0.07635, allocations: 0.657 MB / 0.5159 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.07651, allocations: 162.4 kB / 0.5161 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-05/0.0766, allocations: 39.97 kB / 0.5161 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.07663, allocations: 43.06 kB / 0.5162 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=76): time 1.923e-06/0.07663, allocations: 0 / 0.5162 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76): time 0.001993/0.07862, allocations: 1.034 MB / 0.5172 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.07866, allocations: 89.83 kB / 0.5173 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.07985, allocations: 1.547 MB / 0.5188 GB, free: 2.727 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.183e-05/0.0799, allocations: 46.45 kB / 0.5188 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003622/0.08026, allocations: 0.7734 MB / 0.5196 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.0804, allocations: 287.8 kB / 0.5198 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/0.08063, allocations: 234.6 kB / 0.5201 GB, free: 1.371 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.08072, allocations: 353.8 kB / 0.5204 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.08099, allocations: 150.4 kB / 0.5205 GB, free: 0.875 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006621/0.08165, allocations: 1.177 MB / 0.5217 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006349/0.08228, allocations: 0.6644 MB / 0.5223 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.08229, allocations: 3.938 kB / 0.5223 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001799/0.08409, allocations: 1.048 MB / 0.5234 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.08411, allocations: 8 kB / 0.5234 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.08412, allocations: 12 kB / 0.5234 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007292/0.08485, allocations: 381.1 kB / 0.5238 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005192/0.08537, allocations: 275.5 kB / 0.524 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006692/0.08604, allocations: 1.245 MB / 0.5252 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006701/0.08671, allocations: 207.2 kB / 0.5254 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-05/0.08678, allocations: 47.95 kB / 0.5255 GB, free: 11.36 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (105): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,8), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002706/0.08705, allocations: 178.2 kB / 0.5256 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.08721, allocations: 139.8 kB / 0.5258 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009049/0.08811, allocations: 0.7436 MB / 0.5265 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.08812, allocations: 15.98 kB / 0.5265 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.08813, allocations: 4 kB / 0.5265 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.08813, allocations: 3.984 kB / 0.5265 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.09033, allocations: 1.901 MB / 0.5284 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.09033, allocations: 0 / 0.5284 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/0.09061, allocations: 136.2 kB / 0.5285 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/0.09095, allocations: 268.9 kB / 0.5288 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006552/0.0916, allocations: 374.3 kB / 0.5291 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/0.09164, allocations: 31.25 kB / 0.5292 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007349/0.09238, allocations: 1.263 MB / 0.5304 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.09238, allocations: 11.88 kB / 0.5304 GB, free: 6.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.09373, allocations: 1.109 MB / 0.5315 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.09386, allocations: 23.92 kB / 0.5315 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004743/0.09434, allocations: 75.94 kB / 0.5316 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.09439, allocations: 63.77 kB / 0.5316 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/0.09443, allocations: 35.97 kB / 0.5317 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006156/0.09505, allocations: 0.7965 MB / 0.5325 GB, free: 3.969 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.09505, allocations: 0 / 0.5325 GB, free: 3.969 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009177/0.09597, allocations: 0.5924 MB / 0.533 GB, free: 3.375 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002973/0.09627, allocations: 188 kB / 0.5332 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008329/0.0971, allocations: 0.5645 MB / 0.5338 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.101e-05/0.09713, allocations: 31.12 kB / 0.5338 GB, free: 2.586 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005044/0.09763, allocations: 356.4 kB / 0.5341 GB, free: 2.238 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/0.09947, allocations: 1.077 MB / 0.5352 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008339/0.1078, allocations: 3.313 MB / 0.5384 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.1081, allocations: 354.2 kB / 0.5388 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007109/0.1088, allocations: 320.5 kB / 0.5391 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/0.1098, allocations: 0.6453 MB / 0.5397 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of SimCode: time 7.51e-07/0.1098, allocations: 0 / 0.5397 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of Templates: time 0.04224/0.1521, allocations: 39.96 MB / 0.5787 GB, free: 5.453 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.758766573853791]