Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001295/0.001295, 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.001443/0.001443, 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.32/3.32, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_latest_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.002182/0.002182, allocations: 69.53 kB / 1.17 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3593, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07629/0.4356, allocations: 65.12 MB / 1.409 GB, free: 14.61 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02599/0.4615, allocations: 17.51 MB / 1.426 GB, free: 13.05 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002197/0.4637, allocations: 95.19 kB / 1.426 GB, free: 12.96 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002827/0.4666, allocations: 0.8346 MB / 1.427 GB, free: 12.12 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.009348/0.4759, allocations: 3.014 MB / 1.43 GB, free: 9.09 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004573/0.4805, allocations: 1.7 MB / 1.431 GB, free: 7.398 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.006852/0.4873, allocations: 4.07 MB / 1.435 GB, free: 3.316 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003059/0.4904, allocations: 1.149 MB / 1.437 GB, free: 2.129 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005187/0.4956, allocations: 2.003 MB / 1.439 GB, free: 124 kB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002732/0.4983, allocations: 1.221 MB / 1.44 GB, free: 14.89 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0006259/0.4989, allocations: 176 kB / 1.44 GB, free: 14.72 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003452/0.5024, allocations: 1.178 MB / 1.441 GB, free: 13.54 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0006828/0.5031, allocations: 398.5 kB / 1.441 GB, free: 13.15 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001612/0.5047, allocations: 0.7233 MB / 1.442 GB, free: 12.43 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005695/0.5104, allocations: 3.111 MB / 1.445 GB, free: 9.305 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.5104, allocations: 0 / 1.445 GB, free: 9.305 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5104, allocations: 0 / 1.445 GB, free: 9.305 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.567e-05/0.5105, allocations: 0 / 1.445 GB, free: 9.305 MB / 1.139 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.005047/0.5155, allocations: 2.012 MB / 1.447 GB, free: 7.246 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.5156, allocations: 16.03 kB / 1.447 GB, free: 7.23 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.484e-05/0.5156, allocations: 26.22 kB / 1.447 GB, free: 7.203 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003457/0.516, allocations: 152.6 kB / 1.447 GB, free: 7.047 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002603/0.5186, allocations: 466.3 kB / 1.448 GB, free: 6.59 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003455/0.522, allocations: 1.512 MB / 1.449 GB, free: 5.031 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.481e-05/0.5221, allocations: 82.03 kB / 1.449 GB, free: 4.949 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/0.5224, allocations: 100 kB / 1.449 GB, free: 4.852 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003128/0.5255, allocations: 1.417 MB / 1.451 GB, free: 3.301 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.5255, allocations: 7.938 kB / 1.451 GB, free: 3.293 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.5256, allocations: 51.94 kB / 1.451 GB, free: 3.242 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/0.5257, allocations: 24 kB / 1.451 GB, free: 3.219 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002925/0.5286, allocations: 1.097 MB / 1.452 GB, free: 2.125 MB / 1.139 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.009444/0.538, allocations: 5.632 MB / 1.457 GB, free: 12.33 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003389/0.5414, allocations: 0.7771 MB / 1.458 GB, free: 11.55 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006857/0.5421, allocations: 270 kB / 1.458 GB, free: 11.28 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006083/0.5427, allocations: 152.3 kB / 1.459 GB, free: 11.13 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.5428, allocations: 39 kB / 1.459 GB, free: 11.09 MB / 1.154 GB Notification: Performance of pre-optimization done (n=48): time 2.865e-06/0.5428, allocations: 0 / 1.459 GB, free: 11.09 MB / 1.154 GB Notification: Performance of matching and sorting (n=48): time 0.005222/0.548, allocations: 1.264 MB / 1.46 GB, free: 9.812 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.548, allocations: 59.84 kB / 1.46 GB, free: 9.742 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003197/0.5512, allocations: 1.554 MB / 1.461 GB, free: 8.18 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.5514, allocations: 37.7 kB / 1.461 GB, free: 8.137 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008062/0.5522, allocations: 0.6857 MB / 1.462 GB, free: 7.445 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.5524, allocations: 178.5 kB / 1.462 GB, free: 7.27 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004022/0.5528, allocations: 178.5 kB / 1.463 GB, free: 7.09 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.553, allocations: 341.9 kB / 1.463 GB, free: 6.75 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.5541, allocations: 361.8 kB / 1.463 GB, free: 6.395 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.5557, allocations: 0.9847 MB / 1.464 GB, free: 5.203 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001981/0.5576, allocations: 0.8936 MB / 1.465 GB, free: 4.195 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.936e-06/0.5577, allocations: 0 / 1.465 GB, free: 4.195 MB / 1.154 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003418/0.5611, allocations: 1.197 MB / 1.466 GB, free: 2.992 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.5611, allocations: 8 kB / 1.466 GB, free: 2.984 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/0.5611, allocations: 12 kB / 1.466 GB, free: 2.973 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009818/0.5621, allocations: 220.6 kB / 1.466 GB, free: 2.754 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000814/0.5629, allocations: 187.7 kB / 1.467 GB, free: 2.57 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.564, allocations: 0.7279 MB / 1.467 GB, free: 1.816 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/0.5659, allocations: 211.1 kB / 1.468 GB, free: 1.609 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.566, allocations: 47.97 kB / 1.468 GB, free: 1.562 MB / 1.154 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.0007854/0.5668, allocations: 353.5 kB / 1.468 GB, free: 1.207 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004681/0.5673, allocations: 170.8 kB / 1.468 GB, free: 1.039 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002889/0.5702, allocations: 1.151 MB / 1.469 GB, free: 15.88 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/0.5702, allocations: 11.98 kB / 1.469 GB, free: 15.86 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.5702, allocations: 0 / 1.469 GB, free: 15.86 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.5702, allocations: 0 / 1.469 GB, free: 15.86 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006214/0.5764, allocations: 2.308 MB / 1.471 GB, free: 13.48 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.5764, allocations: 4.188 kB / 1.471 GB, free: 13.47 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.5768, allocations: 87.89 kB / 1.472 GB, free: 13.39 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008408/0.5777, allocations: 216.5 kB / 1.472 GB, free: 13.17 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-05/0.5777, allocations: 19.98 kB / 1.472 GB, free: 13.15 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001472/0.5792, allocations: 0.7708 MB / 1.473 GB, free: 12.36 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.5792, allocations: 4.031 kB / 1.473 GB, free: 12.35 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004047/0.5833, allocations: 1.226 MB / 1.474 GB, free: 11.09 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008587/0.5841, allocations: 278.7 kB / 1.474 GB, free: 10.81 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000337/0.5845, allocations: 12 kB / 1.474 GB, free: 10.8 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.5856, allocations: 71.91 kB / 1.474 GB, free: 10.73 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.5857, allocations: 44.36 kB / 1.474 GB, free: 10.69 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.73e-05/0.5857, allocations: 31.98 kB / 1.474 GB, free: 10.66 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002606/0.5884, allocations: 1.09 MB / 1.475 GB, free: 9.57 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5884, allocations: 192 / 1.475 GB, free: 9.57 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001958/0.5903, allocations: 455.1 kB / 1.476 GB, free: 9.125 MB / 1.17 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.005225/0.5955, allocations: 2.125 MB / 1.478 GB, free: 6.953 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002491/0.598, allocations: 0.8288 MB / 1.479 GB, free: 6.121 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.598, allocations: 4.125 kB / 1.479 GB, free: 6.117 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/0.5994, allocations: 423 kB / 1.479 GB, free: 5.707 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003834/0.6033, allocations: 0.7323 MB / 1.48 GB, free: 4.984 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02223/0.6255, allocations: 10.54 MB / 1.49 GB, free: 10.05 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007787/0.6263, allocations: 0.5838 MB / 1.49 GB, free: 9.441 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001277/0.6276, allocations: 266.3 kB / 1.491 GB, free: 9.18 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009576/0.6285, allocations: 0.55 MB / 1.491 GB, free: 8.629 MB / 1.186 GB Notification: Performance of SimCode: time 9.32e-07/0.6285, allocations: 7.938 kB / 1.491 GB, free: 8.621 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09327/0.7218, allocations: 46.61 MB / 1.537 GB, free: 10.83 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.84/16.57, allocations: 9.953 kB / 1.537 GB, free: 10.82 MB / 1.232 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 23.711246481980197] Failed to read output from testmodel.py, exit status != 0: 16.776557654025964 16.810951319 16.29482331 Calling exit ...