Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001549/0.001549, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001913/0.001913, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.231/3.231, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_12_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.001984/0.001984, allocations: 67.8 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3845, allocations: 176.1 MB / 1.327 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08534/0.4699, allocations: 65.13 MB / 1.39 GB, free: 164 kB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02875/0.4986, allocations: 17.53 MB / 1.407 GB, free: 14.58 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003582/0.5022, allocations: 95.19 kB / 1.407 GB, free: 14.49 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002943/0.5051, allocations: 0.8229 MB / 1.408 GB, free: 13.66 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00942/0.5146, allocations: 3.032 MB / 1.411 GB, free: 10.62 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005327/0.5199, allocations: 1.698 MB / 1.413 GB, free: 8.926 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.007505/0.5274, allocations: 4.075 MB / 1.417 GB, free: 4.844 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002689/0.5301, allocations: 1.149 MB / 1.418 GB, free: 3.66 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005443/0.5355, allocations: 2.002 MB / 1.42 GB, free: 1.652 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002639/0.5382, allocations: 1.218 MB / 1.421 GB, free: 440 kB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.000398/0.5386, allocations: 176 kB / 1.421 GB, free: 264 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003114/0.5417, allocations: 1.174 MB / 1.422 GB, free: 15.08 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004842/0.5422, allocations: 402.4 kB / 1.423 GB, free: 14.69 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.5433, allocations: 0.7233 MB / 1.423 GB, free: 13.96 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00531/0.5486, allocations: 3.107 MB / 1.427 GB, free: 10.84 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.5487, allocations: 4 kB / 1.427 GB, free: 10.84 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5487, allocations: 0 / 1.427 GB, free: 10.84 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.661e-05/0.5487, allocations: 3.938 kB / 1.427 GB, free: 10.84 MB / 1.123 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.004435/0.5531, allocations: 2.011 MB / 1.428 GB, free: 8.777 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.5532, allocations: 12.03 kB / 1.428 GB, free: 8.766 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.833e-05/0.5532, allocations: 34.16 kB / 1.429 GB, free: 8.73 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002057/0.5534, allocations: 156.6 kB / 1.429 GB, free: 8.57 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002416/0.5559, allocations: 458.9 kB / 1.429 GB, free: 8.121 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003188/0.559, allocations: 1.516 MB / 1.431 GB, free: 6.555 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.435e-05/0.5591, allocations: 78.03 kB / 1.431 GB, free: 6.477 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.5593, allocations: 108 kB / 1.431 GB, free: 6.371 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002889/0.5622, allocations: 1.413 MB / 1.432 GB, free: 4.824 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.5622, allocations: 8 kB / 1.432 GB, free: 4.816 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.5623, allocations: 44 kB / 1.432 GB, free: 4.773 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.941e-05/0.5624, allocations: 27.98 kB / 1.432 GB, free: 4.746 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002714/0.5651, allocations: 1.104 MB / 1.433 GB, free: 3.641 MB / 1.123 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.009173/0.5743, allocations: 5.617 MB / 1.439 GB, free: 13.87 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00319/0.5774, allocations: 0.772 MB / 1.44 GB, free: 13.09 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006578/0.5781, allocations: 270 kB / 1.44 GB, free: 12.82 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005497/0.5787, allocations: 160.3 kB / 1.44 GB, free: 12.66 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/0.5787, allocations: 42.94 kB / 1.44 GB, free: 12.61 MB / 1.139 GB Notification: Performance of pre-optimization done (n=48): time 2.204e-06/0.5787, allocations: 0 / 1.44 GB, free: 12.61 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.004763/0.5835, allocations: 1.26 MB / 1.441 GB, free: 11.34 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.5835, allocations: 55.84 kB / 1.441 GB, free: 11.27 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002437/0.5859, allocations: 1.561 MB / 1.443 GB, free: 9.703 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.761e-05/0.586, allocations: 37.7 kB / 1.443 GB, free: 9.66 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000647/0.5867, allocations: 0.6858 MB / 1.444 GB, free: 8.969 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.5868, allocations: 178.5 kB / 1.444 GB, free: 8.793 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003277/0.5872, allocations: 178.5 kB / 1.444 GB, free: 8.613 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.5873, allocations: 337.9 kB / 1.444 GB, free: 8.277 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009851/0.5883, allocations: 365.8 kB / 1.445 GB, free: 7.918 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.5898, allocations: 0.9884 MB / 1.445 GB, free: 6.723 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/0.5917, allocations: 0.8858 MB / 1.446 GB, free: 5.73 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.5917, allocations: 4 kB / 1.446 GB, free: 5.727 MB / 1.139 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003028/0.5947, allocations: 1.193 MB / 1.448 GB, free: 4.523 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.5947, allocations: 8 kB / 1.448 GB, free: 4.516 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.5948, allocations: 11.94 kB / 1.448 GB, free: 4.504 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000909/0.5957, allocations: 224.6 kB / 1.448 GB, free: 4.281 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007942/0.5965, allocations: 195.7 kB / 1.448 GB, free: 4.09 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009394/0.5974, allocations: 0.7162 MB / 1.449 GB, free: 3.348 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.5989, allocations: 219 kB / 1.449 GB, free: 3.133 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.912e-05/0.599, allocations: 43.98 kB / 1.449 GB, free: 3.09 MB / 1.139 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.0006366/0.5997, allocations: 357.6 kB / 1.449 GB, free: 2.73 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/0.5999, allocations: 155 kB / 1.449 GB, free: 2.578 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002504/0.6024, allocations: 1.156 MB / 1.451 GB, free: 1.402 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/0.6024, allocations: 8 kB / 1.451 GB, free: 1.395 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6024, allocations: 0 / 1.451 GB, free: 1.395 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.6025, allocations: 7.984 kB / 1.451 GB, free: 1.387 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005127/0.6076, allocations: 2.311 MB / 1.453 GB, free: 15 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.6076, allocations: 8.188 kB / 1.453 GB, free: 14.99 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003595/0.608, allocations: 75.89 kB / 1.453 GB, free: 14.92 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007955/0.6088, allocations: 216.6 kB / 1.453 GB, free: 14.7 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-05/0.6088, allocations: 15.98 kB / 1.453 GB, free: 14.69 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.6102, allocations: 0.7786 MB / 1.454 GB, free: 13.88 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/0.6102, allocations: 8.156 kB / 1.454 GB, free: 13.88 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003408/0.6136, allocations: 1.219 MB / 1.455 GB, free: 12.62 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00066/0.6143, allocations: 286.5 kB / 1.455 GB, free: 12.34 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.6145, allocations: 16 kB / 1.455 GB, free: 12.32 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008741/0.6154, allocations: 67.92 kB / 1.455 GB, free: 12.25 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.6155, allocations: 44.42 kB / 1.455 GB, free: 12.21 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.56e-05/0.6155, allocations: 27.97 kB / 1.455 GB, free: 12.18 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001891/0.6174, allocations: 1.09 MB / 1.457 GB, free: 11.1 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.6174, allocations: 0 / 1.457 GB, free: 11.1 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001341/0.6188, allocations: 447.1 kB / 1.457 GB, free: 10.66 MB / 1.154 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.004532/0.6233, allocations: 2.12 MB / 1.459 GB, free: 8.496 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002351/0.6256, allocations: 0.8366 MB / 1.46 GB, free: 7.66 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.6256, allocations: 4.062 kB / 1.46 GB, free: 7.656 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.6269, allocations: 423 kB / 1.46 GB, free: 7.242 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003275/0.6302, allocations: 0.7399 MB / 1.461 GB, free: 6.512 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01883/0.649, allocations: 10.53 MB / 1.471 GB, free: 11.59 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006981/0.6497, allocations: 0.5838 MB / 1.472 GB, free: 10.98 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001229/0.651, allocations: 274.6 kB / 1.472 GB, free: 10.71 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008464/0.6518, allocations: 0.5461 MB / 1.473 GB, free: 10.16 MB / 1.17 GB Notification: Performance of SimCode: time 1.372e-06/0.6518, allocations: 4 kB / 1.473 GB, free: 10.16 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08782/0.7396, allocations: 46.62 MB / 1.518 GB, free: 12.46 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.76/16.5, allocations: 10.81 kB / 1.518 GB, free: 12.46 MB / 1.217 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 23.428887260030024] Failed to read output from testmodel.py, exit status != 0: 16.711613212013617 16.740222951 16.186146197 Calling exit ...