Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004897/0.004897, allocations: 98.95 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 201.8 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.591/2.591, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 67.88 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2621, allocations: 162.3 MB / 1.242 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.5233/0.7854, allocations: 61.3 MB / 1.302 GB, free: 7.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01551/0.8009, allocations: 12 MB / 1.313 GB, free: 14.9 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.8024, allocations: 65.03 kB / 1.314 GB, free: 14.87 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.8039, allocations: 0.6795 MB / 1.314 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004056/0.808, allocations: 1.954 MB / 1.316 GB, free: 13.26 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.8106, allocations: 1.203 MB / 1.317 GB, free: 12.6 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003172/0.8137, allocations: 3.075 MB / 1.32 GB, free: 11.07 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.815, allocations: 1.097 MB / 1.321 GB, free: 10.53 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002617/0.8176, allocations: 1.438 MB / 1.323 GB, free: 9.812 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.8187, allocations: 0.8852 MB / 1.324 GB, free: 9.398 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.8189, allocations: 115.3 kB / 1.324 GB, free: 9.398 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.8215, allocations: 1.478 MB / 1.325 GB, free: 8.898 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002789/0.8217, allocations: 289.7 kB / 1.325 GB, free: 8.711 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006521/0.8224, allocations: 0.6972 MB / 1.326 GB, free: 8.273 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00291/0.8253, allocations: 2.329 MB / 1.328 GB, free: 7.395 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.8253, allocations: 4.734 kB / 1.328 GB, free: 7.391 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8253, allocations: 0 / 1.328 GB, free: 7.391 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.566e-05/0.8254, allocations: 1.25 kB / 1.328 GB, free: 7.391 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002792/0.8282, allocations: 1.78 MB / 1.33 GB, free: 6.156 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.8282, allocations: 9.594 kB / 1.33 GB, free: 6.156 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001408/0.8283, allocations: 120.9 kB / 1.33 GB, free: 6.07 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.8299, allocations: 356.1 kB / 1.331 GB, free: 5.977 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.8318, allocations: 1.171 MB / 1.332 GB, free: 5.258 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.616e-05/0.8319, allocations: 61.69 kB / 1.332 GB, free: 5.234 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.832, allocations: 91.34 kB / 1.332 GB, free: 5.199 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.8337, allocations: 0.9622 MB / 1.333 GB, free: 4.719 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.8337, allocations: 9.312 kB / 1.333 GB, free: 4.711 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.358e-05/0.8338, allocations: 32.25 kB / 1.333 GB, free: 4.688 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.8338, allocations: 19.25 kB / 1.333 GB, free: 4.688 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.8357, allocations: 0.8003 MB / 1.334 GB, free: 4.418 MB / 1.045 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.005806/0.8415, allocations: 5.16 MB / 1.339 GB, free: 376 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.8429, allocations: 0.5668 MB / 1.339 GB, free: 160 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005737/0.8435, allocations: 265.7 kB / 1.34 GB, free: 72 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/0.8449, allocations: 1.37 MB / 1.341 GB, free: 14.55 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.8449, allocations: 36.75 kB / 1.341 GB, free: 14.51 MB / 1.061 GB Notification: Performance of pre-optimization done (n=44): time 1.944e-06/0.8449, allocations: 0 / 1.341 GB, free: 14.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=44): time 0.005216/0.8501, allocations: 1.498 MB / 1.342 GB, free: 14.05 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.8502, allocations: 56.47 kB / 1.342 GB, free: 13.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.8516, allocations: 1.08 MB / 1.343 GB, free: 13.54 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/0.8516, allocations: 37.08 kB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004382/0.8521, allocations: 0.5363 MB / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.8522, allocations: 164 kB / 1.344 GB, free: 12.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.8524, allocations: 134.6 kB / 1.344 GB, free: 12.88 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.8526, allocations: 334.7 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007263/0.8533, allocations: 276.3 kB / 1.345 GB, free: 12.47 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009113/0.8542, allocations: 498.4 kB / 1.345 GB, free: 12.12 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.8556, allocations: 0.6581 MB / 1.346 GB, free: 11.75 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.8556, allocations: 5.438 kB / 1.346 GB, free: 11.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002208/0.8579, allocations: 0.9551 MB / 1.347 GB, free: 11.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.8579, allocations: 7.25 kB / 1.347 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.8579, allocations: 4.875 kB / 1.347 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.859, allocations: 305.5 kB / 1.347 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/0.8594, allocations: 123.6 kB / 1.347 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.8608, allocations: 0.9079 MB / 1.348 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009545/0.8617, allocations: 138 kB / 1.348 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.277e-05/0.8618, allocations: 34.27 kB / 1.348 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009324/0.8627, allocations: 490.2 kB / 1.349 GB, free: 10.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008617/0.8636, allocations: 0.4925 MB / 1.349 GB, free: 9.984 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00131/0.8649, allocations: 0.6521 MB / 1.35 GB, free: 9.605 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.036e-06/0.8649, allocations: 1.094 kB / 1.35 GB, free: 9.605 MB / 1.061 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002196/0.8671, allocations: 0.9559 MB / 1.351 GB, free: 9.238 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.158e-06/0.8672, allocations: 6.906 kB / 1.351 GB, free: 9.238 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.8672, allocations: 4.969 kB / 1.351 GB, free: 9.238 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00094/0.8681, allocations: 303.1 kB / 1.351 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/0.8685, allocations: 128.5 kB / 1.351 GB, free: 9.133 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.8698, allocations: 0.8954 MB / 1.352 GB, free: 8.414 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009202/0.8707, allocations: 128.6 kB / 1.352 GB, free: 8.348 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.858e-05/0.8708, allocations: 35.7 kB / 1.352 GB, free: 8.336 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (57): * Single equations (assignments): 56 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000181/0.871, allocations: 220.3 kB / 1.353 GB, free: 8.125 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.8712, allocations: 116.7 kB / 1.353 GB, free: 8.062 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.8732, allocations: 0.895 MB / 1.354 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.8732, allocations: 5.969 kB / 1.354 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.8732, allocations: 0 / 1.354 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.8732, allocations: 3.984 kB / 1.354 GB, free: 7.547 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005071/0.8783, allocations: 2.201 MB / 1.356 GB, free: 6.066 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.8783, allocations: 2.625 kB / 1.356 GB, free: 6.066 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.8785, allocations: 53.44 kB / 1.356 GB, free: 6.055 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008818/0.8794, allocations: 303.3 kB / 1.356 GB, free: 5.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/0.8794, allocations: 18.67 kB / 1.356 GB, free: 5.898 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.8808, allocations: 0.9289 MB / 1.357 GB, free: 5.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.8808, allocations: 2.781 kB / 1.357 GB, free: 5.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003722/0.8845, allocations: 1.235 MB / 1.358 GB, free: 4.426 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/0.8848, allocations: 267.6 kB / 1.358 GB, free: 4.188 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.885, allocations: 13.5 kB / 1.358 GB, free: 4.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006753/0.8856, allocations: 64.95 kB / 1.359 GB, free: 4.148 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.569e-05/0.8857, allocations: 40.05 kB / 1.359 GB, free: 4.125 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.447e-05/0.8858, allocations: 27.64 kB / 1.359 GB, free: 4.113 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00101/0.8868, allocations: 0.7532 MB / 1.359 GB, free: 3.688 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8868, allocations: 0 / 1.359 GB, free: 3.688 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001472/0.8883, allocations: 0.5846 MB / 1.36 GB, free: 3.559 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004141/0.8924, allocations: 1.984 MB / 1.362 GB, free: 2.191 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002439/0.8949, allocations: 1.031 MB / 1.363 GB, free: 1.734 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.8949, allocations: 1.031 kB / 1.363 GB, free: 1.734 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007075/0.8956, allocations: 317.1 kB / 1.363 GB, free: 1.594 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/0.8976, allocations: 0.514 MB / 1.364 GB, free: 1.312 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/0.9098, allocations: 7.958 MB / 1.371 GB, free: 12.35 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006114/0.9105, allocations: 1.063 MB / 1.372 GB, free: 11.49 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007366/0.9112, allocations: 229.6 kB / 1.373 GB, free: 11.37 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005107/0.9117, allocations: 418.1 kB / 1.373 GB, free: 11.02 MB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/0.9117, allocations: 0 / 1.373 GB, free: 11.02 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 10.72/11.64, allocations: 33.91 MB / 1.406 GB, free: 13.84 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.84/28.48, allocations: 15.92 kB / 1.406 GB, free: 13.82 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)