Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.001335/0.001335, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 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.001427/0.001427, allocations: 217.8 kB / 23.03 MB, free: 4.922 MB / 14.72 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.859/2.859, allocations: 476.8 MB / 0.7715 GB, free: 3.895 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 70.72 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3304, allocations: 170 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07669/0.4071, allocations: 65.02 MB / 1.348 GB, free: 9.449 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02741/0.4345, allocations: 17.53 MB / 1.365 GB, free: 7.875 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002914/0.4374, allocations: 99.12 kB / 1.365 GB, free: 7.777 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002716/0.4401, allocations: 0.819 MB / 1.366 GB, free: 6.953 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00945/0.4495, allocations: 3.039 MB / 1.369 GB, free: 3.902 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00508/0.4546, allocations: 1.705 MB / 1.37 GB, free: 2.203 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.006704/0.4613, allocations: 4.093 MB / 1.374 GB, free: 14.1 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/0.4636, allocations: 1.149 MB / 1.375 GB, free: 12.91 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004547/0.4681, allocations: 1.873 MB / 1.377 GB, free: 11.03 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002441/0.4705, allocations: 1.237 MB / 1.378 GB, free: 9.789 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003529/0.4709, allocations: 176 kB / 1.379 GB, free: 9.617 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/0.4737, allocations: 1.178 MB / 1.38 GB, free: 8.438 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004594/0.4741, allocations: 398.4 kB / 1.38 GB, free: 8.047 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.4752, allocations: 0.7233 MB / 1.381 GB, free: 7.32 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005213/0.4804, allocations: 3.099 MB / 1.384 GB, free: 4.211 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.4805, allocations: 8 kB / 1.384 GB, free: 4.203 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4805, allocations: 0 / 1.384 GB, free: 4.203 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.543e-05/0.4805, allocations: 0 / 1.384 GB, free: 4.203 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004244/0.4847, allocations: 2.007 MB / 1.386 GB, free: 2.148 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.4848, allocations: 8.031 kB / 1.386 GB, free: 2.141 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.977e-05/0.4848, allocations: 38.16 kB / 1.386 GB, free: 2.102 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001892/0.485, allocations: 152.6 kB / 1.386 GB, free: 1.945 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002401/0.4874, allocations: 455 kB / 1.386 GB, free: 1.5 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003112/0.4905, allocations: 1.504 MB / 1.388 GB, free: 15.95 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.398e-05/0.4906, allocations: 82.03 kB / 1.388 GB, free: 15.87 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.4908, allocations: 108 kB / 1.388 GB, free: 15.76 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002936/0.4937, allocations: 1.413 MB / 1.389 GB, free: 14.21 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.4938, allocations: 4 kB / 1.389 GB, free: 14.21 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.4939, allocations: 44 kB / 1.389 GB, free: 14.17 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.4939, allocations: 24 kB / 1.39 GB, free: 14.14 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002932/0.4968, allocations: 1.108 MB / 1.391 GB, free: 13.03 MB / 1.092 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.009241/0.5061, allocations: 5.62 MB / 1.396 GB, free: 7.246 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003287/0.5094, allocations: 0.767 MB / 1.397 GB, free: 6.473 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006272/0.51, allocations: 262 kB / 1.397 GB, free: 6.215 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005879/0.5106, allocations: 168.3 kB / 1.397 GB, free: 6.051 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.5106, allocations: 42.94 kB / 1.397 GB, free: 6 MB / 1.092 GB Notification: Performance of pre-optimization done (n=48): time 2.695e-06/0.5106, allocations: 0 / 1.397 GB, free: 6 MB / 1.092 GB Notification: Performance of matching and sorting (n=48): time 0.005058/0.5157, allocations: 1.264 MB / 1.399 GB, free: 4.723 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.5157, allocations: 55.84 kB / 1.399 GB, free: 4.656 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00266/0.5184, allocations: 1.549 MB / 1.4 GB, free: 3.098 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 9.278e-05/0.5185, allocations: 33.7 kB / 1.4 GB, free: 3.059 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006931/0.5192, allocations: 0.6896 MB / 1.401 GB, free: 2.363 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.5194, allocations: 170.6 kB / 1.401 GB, free: 2.195 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003259/0.5197, allocations: 178.5 kB / 1.401 GB, free: 2.016 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.5198, allocations: 337.9 kB / 1.401 GB, free: 1.68 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.5209, allocations: 365.8 kB / 1.402 GB, free: 1.324 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.5224, allocations: 0.9886 MB / 1.403 GB, free: 132 kB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/0.5244, allocations: 0.8858 MB / 1.404 GB, free: 15.14 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.5244, allocations: 0 / 1.404 GB, free: 15.14 MB / 1.107 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003249/0.5277, allocations: 1.193 MB / 1.405 GB, free: 13.93 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.5277, allocations: 11.98 kB / 1.405 GB, free: 13.92 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.5277, allocations: 8 kB / 1.405 GB, free: 13.91 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009456/0.5286, allocations: 236.5 kB / 1.405 GB, free: 13.68 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008077/0.5295, allocations: 183.8 kB / 1.405 GB, free: 13.5 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009417/0.5304, allocations: 0.724 MB / 1.406 GB, free: 12.75 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.5322, allocations: 219 kB / 1.406 GB, free: 12.54 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.5323, allocations: 39.98 kB / 1.406 GB, free: 12.5 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0007916/0.5331, allocations: 365.6 kB / 1.407 GB, free: 12.13 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/0.5334, allocations: 151 kB / 1.407 GB, free: 11.98 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002635/0.5361, allocations: 1.158 MB / 1.408 GB, free: 10.81 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/0.5361, allocations: 8 kB / 1.408 GB, free: 10.8 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.5361, allocations: 0 / 1.408 GB, free: 10.8 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.5361, allocations: 7.984 kB / 1.408 GB, free: 10.79 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005287/0.5414, allocations: 2.304 MB / 1.41 GB, free: 8.414 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.5414, allocations: 4 kB / 1.41 GB, free: 8.41 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003775/0.5418, allocations: 87.81 kB / 1.41 GB, free: 8.324 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008293/0.5426, allocations: 216.8 kB / 1.41 GB, free: 8.109 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.581e-05/0.5427, allocations: 12 kB / 1.41 GB, free: 8.098 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.5441, allocations: 0.7708 MB / 1.411 GB, free: 7.301 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.5441, allocations: 4.031 kB / 1.411 GB, free: 7.297 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003915/0.548, allocations: 1.223 MB / 1.412 GB, free: 6.035 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/0.5491, allocations: 286.6 kB / 1.413 GB, free: 5.754 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002611/0.5494, allocations: 20 kB / 1.413 GB, free: 5.734 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009785/0.5504, allocations: 67.91 kB / 1.413 GB, free: 5.668 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.5505, allocations: 48.36 kB / 1.413 GB, free: 5.621 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.061e-05/0.5506, allocations: 24.17 kB / 1.413 GB, free: 5.598 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001997/0.5526, allocations: 1.09 MB / 1.414 GB, free: 4.512 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5526, allocations: 3.938 kB / 1.414 GB, free: 4.508 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001541/0.5541, allocations: 459 kB / 1.414 GB, free: 4.059 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004921/0.559, allocations: 2.114 MB / 1.416 GB, free: 1.898 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002629/0.5617, allocations: 0.8286 MB / 1.417 GB, free: 1.074 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.5617, allocations: 0 / 1.417 GB, free: 1.074 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.563, allocations: 427.3 kB / 1.418 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003544/0.5666, allocations: 0.7413 MB / 1.418 GB, free: 15.92 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02047/0.587, allocations: 10.51 MB / 1.429 GB, free: 5.031 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006583/0.5877, allocations: 0.5836 MB / 1.429 GB, free: 4.414 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001145/0.5888, allocations: 272.2 kB / 1.429 GB, free: 4.145 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008452/0.5897, allocations: 0.5461 MB / 1.43 GB, free: 3.598 MB / 1.123 GB Notification: Performance of SimCode: time 1.332e-06/0.5897, allocations: 0 / 1.43 GB, free: 3.598 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09279/0.6825, allocations: 46.59 MB / 1.475 GB, free: 5.98 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.81/17.5, allocations: 8.859 kB / 1.475 GB, free: 5.977 MB / 1.17 GB " [Timeout remaining time 282] (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 24.303119573974982] Failed to read output from testmodel.py, exit status != 0: 18.21049276192207 17.71814462 17.234312337 Calling exit ...