Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_y_etaPL,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_y_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.001013/0.001013, allocations: 90.34 kB / 15.06 MB, free: 1.078 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.0012/0.0012, allocations: 176.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.394/2.394, allocations: 390.4 MB / 0.6655 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.000347, allocations: 12 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6936/0.6939, allocations: 142.3 MB / 0.9538 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.0739/0.7679, allocations: 69.44 MB / 1.022 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01997/0.7879, allocations: 11.96 MB / 1.033 GB, free: 14.54 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00348/0.7914, allocations: 55.62 kB / 1.033 GB, free: 14.48 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00282/0.7943, allocations: 0.5666 MB / 1.034 GB, free: 13.91 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.007842/0.8021, allocations: 1.896 MB / 1.036 GB, free: 12.01 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003621/0.8058, allocations: 0.9518 MB / 1.037 GB, free: 11.07 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.008395/0.8142, allocations: 4.802 MB / 1.041 GB, free: 6.25 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002321/0.8165, allocations: 1.021 MB / 1.042 GB, free: 5.199 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003351/0.8199, allocations: 1.264 MB / 1.044 GB, free: 3.93 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002336/0.8223, allocations: 1.062 MB / 1.045 GB, free: 2.863 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002629/0.8226, allocations: 56 kB / 1.045 GB, free: 2.809 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002988/0.8256, allocations: 0.9432 MB / 1.046 GB, free: 1.863 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003669/0.8259, allocations: 270.7 kB / 1.046 GB, free: 1.598 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0006534/0.8266, allocations: 356.9 kB / 1.046 GB, free: 1.242 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002787/0.8294, allocations: 2.085 MB / 1.048 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.8294, allocations: 3.984 kB / 1.048 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8294, allocations: 4 kB / 1.048 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.819e-05/0.8295, allocations: 0 / 1.048 GB, free: 15.14 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003409/0.8329, allocations: 1.803 MB / 1.05 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.8329, allocations: 8.031 kB / 1.05 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001887/0.8331, allocations: 144 kB / 1.05 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006965/0.8338, allocations: 245.8 kB / 1.05 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00283/0.8367, allocations: 1.455 MB / 1.052 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.8368, allocations: 74 kB / 1.052 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/0.837, allocations: 100 kB / 1.052 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002892/0.8399, allocations: 1.116 MB / 1.053 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/0.84, allocations: 3.938 kB / 1.053 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.8401, allocations: 40 kB / 1.053 GB, free: 10 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-05/0.8402, allocations: 28 kB / 1.053 GB, free: 9.977 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002816/0.843, allocations: 0.9212 MB / 1.054 GB, free: 9.059 MB / 0.8106 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.008875/0.8519, allocations: 4.908 MB / 1.059 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/0.8538, allocations: 0.6444 MB / 1.059 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.8549, allocations: 368.4 kB / 1.06 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000927/0.8558, allocations: 0.8316 MB / 1.061 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/0.8559, allocations: 43.12 kB / 1.061 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=62): time 3.536e-06/0.8559, allocations: 0 / 1.061 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of matching and sorting (n=62): time 0.00773/0.8637, allocations: 1.892 MB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.8637, allocations: 55.97 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/0.8655, allocations: 1.198 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.447e-05/0.8656, allocations: 41.7 kB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005488/0.8662, allocations: 0.6065 MB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.8664, allocations: 212.9 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.8664, allocations: 19.94 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.8666, allocations: 341.8 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006659/0.8672, allocations: 297.8 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007935/0.868, allocations: 0.4965 MB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007164/0.8688, allocations: 359 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.8688, allocations: 0 / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004302/0.8731, allocations: 1.402 MB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.8733, allocations: 195.3 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.8733, allocations: 0 / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007156/0.874, allocations: 164.7 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006107/0.8746, allocations: 167.8 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009322/0.8756, allocations: 0.7351 MB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.8767, allocations: 163.1 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.049e-05/0.8768, allocations: 31.98 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.8768, allocations: 4 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004055/0.8809, allocations: 1.257 MB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.8809, allocations: 4 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005887/0.8815, allocations: 173.1 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005931/0.8821, allocations: 163.7 kB / 1.07 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00083/0.8829, allocations: 0.7279 MB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.8841, allocations: 155.2 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.419e-05/0.8842, allocations: 31.98 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007225/0.8849, allocations: 432.9 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.8852, allocations: 130.4 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004345/0.8895, allocations: 1.412 MB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.8895, allocations: 4 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.8896, allocations: 11.95 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003817/0.8934, allocations: 1.244 MB / 1.074 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006298/0.8997, allocations: 2.743 MB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.8997, allocations: 4 kB / 1.077 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005211/0.9003, allocations: 124.2 kB / 1.077 GB, free: 416 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006011/0.9009, allocations: 156.7 kB / 1.077 GB, free: 256 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.256e-05/0.9009, allocations: 23.98 kB / 1.077 GB, free: 232 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008532/0.9018, allocations: 0.724 MB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.9018, allocations: 4 kB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005081/0.9069, allocations: 1.848 MB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008772/0.9078, allocations: 331 kB / 1.08 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.908, allocations: 24.02 kB / 1.08 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008247/0.9088, allocations: 95.84 kB / 1.08 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.909, allocations: 56.3 kB / 1.08 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.543e-05/0.9091, allocations: 31.98 kB / 1.08 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001272/0.9103, allocations: 0.8543 MB / 1.081 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9104, allocations: 0 / 1.081 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001867/0.9122, allocations: 0.7018 MB / 1.082 GB, free: 11.45 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.006067/0.9183, allocations: 2.729 MB / 1.085 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002956/0.9213, allocations: 1.164 MB / 1.086 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.9213, allocations: 0 / 1.086 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008725/0.9222, allocations: 403.3 kB / 1.086 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003524/0.9257, allocations: 0.7597 MB / 1.087 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01859/0.9443, allocations: 8.346 MB / 1.095 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007891/0.9452, allocations: 1.176 MB / 1.096 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001356/0.9465, allocations: 302.9 kB / 1.096 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007086/0.9473, allocations: 0.511 MB / 1.097 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of SimCode: time 5.81e-07/0.9473, allocations: 0 / 1.097 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07291/1.02, allocations: 41.91 MB / 1.138 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/1.02, allocations: 252.6 kB / 1.138 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.948/3.968, allocations: 0 / 1.138 GB, free: 1.918 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat does not exist to compare? outputFormat=mat