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.001735/0.001735, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002131/0.002131, allocations: 214.4 kB / 22.25 MB, free: 4.859 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.797 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.384/3.384, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",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.002109/0.002109, allocations: 70.42 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4059, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07925/0.4851, allocations: 65.17 MB / 1.427 GB, free: 12.71 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02778/0.5129, allocations: 17.57 MB / 1.444 GB, free: 11.1 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002613/0.5155, allocations: 95.19 kB / 1.444 GB, free: 11 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002641/0.5181, allocations: 0.8306 MB / 1.445 GB, free: 10.17 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.008929/0.5271, allocations: 3.014 MB / 1.448 GB, free: 7.141 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004805/0.5319, allocations: 1.679 MB / 1.45 GB, free: 5.469 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.006856/0.5387, allocations: 4.066 MB / 1.454 GB, free: 1.387 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002272/0.541, allocations: 1.13 MB / 1.455 GB, free: 228 kB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005827/0.5468, allocations: 1.999 MB / 1.457 GB, free: 14.22 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003111/0.5499, allocations: 1.136 MB / 1.458 GB, free: 13.08 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004046/0.5503, allocations: 179.9 kB / 1.458 GB, free: 12.9 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003771/0.5541, allocations: 1.154 MB / 1.459 GB, free: 11.75 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005262/0.5546, allocations: 402.4 kB / 1.459 GB, free: 11.35 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001265/0.5559, allocations: 0.7116 MB / 1.46 GB, free: 10.64 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005444/0.5613, allocations: 3.111 MB / 1.463 GB, free: 7.516 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.5614, allocations: 0 / 1.463 GB, free: 7.516 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5614, allocations: 0 / 1.463 GB, free: 7.516 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.557e-05/0.5614, allocations: 4 kB / 1.463 GB, free: 7.512 MB / 1.154 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.004258/0.5657, allocations: 2.007 MB / 1.465 GB, free: 5.457 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.5657, allocations: 11.97 kB / 1.465 GB, free: 5.445 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002397/0.566, allocations: 164.5 kB / 1.465 GB, free: 5.277 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002434/0.5684, allocations: 450.6 kB / 1.466 GB, free: 4.836 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/0.5717, allocations: 1.519 MB / 1.467 GB, free: 3.266 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.225e-05/0.5718, allocations: 82.03 kB / 1.467 GB, free: 3.184 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.572, allocations: 107.9 kB / 1.467 GB, free: 3.078 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00292/0.5749, allocations: 1.41 MB / 1.469 GB, free: 1.535 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.303e-05/0.5749, allocations: 7.938 kB / 1.469 GB, free: 1.527 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.575, allocations: 44 kB / 1.469 GB, free: 1.484 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/0.5751, allocations: 31.94 kB / 1.469 GB, free: 1.453 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002948/0.578, allocations: 1.093 MB / 1.47 GB, free: 368 kB / 1.154 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.009501/0.5875, allocations: 5.617 MB / 1.475 GB, free: 10.59 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/0.5908, allocations: 0.7691 MB / 1.476 GB, free: 9.812 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006831/0.5915, allocations: 265.9 kB / 1.476 GB, free: 9.547 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005768/0.5921, allocations: 172.2 kB / 1.477 GB, free: 9.379 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.162e-05/0.5922, allocations: 39 kB / 1.477 GB, free: 9.332 MB / 1.17 GB Notification: Performance of pre-optimization done (n=48): time 2.515e-06/0.5922, allocations: 0 / 1.477 GB, free: 9.332 MB / 1.17 GB Notification: Performance of matching and sorting (n=48): time 0.005195/0.5974, allocations: 1.264 MB / 1.478 GB, free: 8.059 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.5974, allocations: 55.84 kB / 1.478 GB, free: 7.992 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002892/0.6003, allocations: 1.565 MB / 1.479 GB, free: 6.418 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.6004, allocations: 37.7 kB / 1.48 GB, free: 6.375 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007327/0.6012, allocations: 0.6858 MB / 1.48 GB, free: 5.684 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.6014, allocations: 170.5 kB / 1.48 GB, free: 5.516 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003264/0.6017, allocations: 178.5 kB / 1.481 GB, free: 5.336 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.6019, allocations: 337.9 kB / 1.481 GB, free: 5 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.603, allocations: 365.8 kB / 1.481 GB, free: 4.641 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/0.6046, allocations: 0.9923 MB / 1.482 GB, free: 3.445 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002067/0.6067, allocations: 0.8858 MB / 1.483 GB, free: 2.449 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.6067, allocations: 3.938 kB / 1.483 GB, free: 2.445 MB / 1.17 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003411/0.6101, allocations: 1.197 MB / 1.484 GB, free: 1.238 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.6102, allocations: 12 kB / 1.484 GB, free: 1.227 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.6102, allocations: 11.98 kB / 1.484 GB, free: 1.215 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009721/0.6111, allocations: 216.6 kB / 1.484 GB, free: 1 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008306/0.612, allocations: 191.7 kB / 1.485 GB, free: 0.8125 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.613, allocations: 0.724 MB / 1.485 GB, free: 64 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.6146, allocations: 211 kB / 1.486 GB, free: 15.86 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.6147, allocations: 39.98 kB / 1.486 GB, free: 15.82 MB / 1.186 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.0006992/0.6154, allocations: 370.4 kB / 1.486 GB, free: 15.45 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002955/0.6157, allocations: 159 kB / 1.486 GB, free: 15.29 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00278/0.6185, allocations: 1.152 MB / 1.487 GB, free: 14.12 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/0.6185, allocations: 8 kB / 1.487 GB, free: 14.12 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.6185, allocations: 3.984 kB / 1.487 GB, free: 14.11 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.6185, allocations: 0 / 1.487 GB, free: 14.11 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005973/0.6245, allocations: 2.296 MB / 1.489 GB, free: 11.74 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.6245, allocations: 4 kB / 1.489 GB, free: 11.74 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/0.6249, allocations: 83.88 kB / 1.49 GB, free: 11.66 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009424/0.6258, allocations: 212.8 kB / 1.49 GB, free: 11.45 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.705e-05/0.6259, allocations: 19.94 kB / 1.49 GB, free: 11.43 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/0.6274, allocations: 0.7825 MB / 1.491 GB, free: 10.62 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.6274, allocations: 4.031 kB / 1.491 GB, free: 10.61 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00412/0.6315, allocations: 1.223 MB / 1.492 GB, free: 9.352 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000878/0.6324, allocations: 282.6 kB / 1.492 GB, free: 9.074 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/0.6326, allocations: 12 kB / 1.492 GB, free: 9.062 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009007/0.6335, allocations: 71.91 kB / 1.492 GB, free: 8.992 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.6336, allocations: 40.42 kB / 1.492 GB, free: 8.953 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.766e-05/0.6337, allocations: 23.98 kB / 1.492 GB, free: 8.93 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002103/0.6358, allocations: 1.09 MB / 1.493 GB, free: 7.844 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6358, allocations: 0 / 1.493 GB, free: 7.844 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00154/0.6374, allocations: 459 kB / 1.494 GB, free: 7.395 MB / 1.186 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.005408/0.6428, allocations: 2.117 MB / 1.496 GB, free: 5.227 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002702/0.6455, allocations: 0.8278 MB / 1.496 GB, free: 4.402 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.6455, allocations: 1.125 kB / 1.496 GB, free: 4.402 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.6469, allocations: 427 kB / 1.497 GB, free: 3.984 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003763/0.6507, allocations: 0.7443 MB / 1.498 GB, free: 3.25 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02054/0.6712, allocations: 10.53 MB / 1.508 GB, free: 8.34 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007263/0.6719, allocations: 0.5799 MB / 1.508 GB, free: 7.73 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00117/0.6731, allocations: 272.1 kB / 1.509 GB, free: 7.461 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000885/0.674, allocations: 0.55 MB / 1.509 GB, free: 6.91 MB / 1.201 GB Notification: Performance of SimCode: time 1.373e-06/0.674, allocations: 0 / 1.509 GB, free: 6.91 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09884/0.7728, allocations: 46.97 MB / 1.555 GB, free: 8.699 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/15.56, allocations: 3.094 kB / 1.555 GB, free: 8.699 MB / 1.248 GB " [Timeout remaining time 284] (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: 22.685743322130293] Failed to read output from testmodel.py, exit status != 0: 15.706576297990978 15.722681708 15.158003822 Calling exit ...