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.001205/0.001205, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.001265/0.001265, allocations: 177.3 kB / 15.94 MB, free: 228 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.375/1.375, allocations: 223.2 MB / 239.9 MB, free: 5.309 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.347/2.347, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003452, allocations: 15.94 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7187/0.719, allocations: 142.3 MB / 0.9536 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06728/0.7864, allocations: 62.98 MB / 1.015 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01721/0.8036, allocations: 11 MB / 1.026 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002919/0.8066, allocations: 55.62 kB / 1.026 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002723/0.8093, allocations: 0.7423 MB / 1.027 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.008321/0.8177, allocations: 2.308 MB / 1.029 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00474/0.8224, allocations: 1.517 MB / 1.03 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005945/0.8284, allocations: 2.512 MB / 1.033 GB, free: 14.89 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002117/0.8305, allocations: 1.041 MB / 1.034 GB, free: 13.82 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003044/0.8336, allocations: 1.148 MB / 1.035 GB, free: 12.67 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.8353, allocations: 0.7739 MB / 1.036 GB, free: 11.89 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.8355, allocations: 56 kB / 1.036 GB, free: 11.84 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002941/0.8384, allocations: 0.8465 MB / 1.037 GB, free: 10.99 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003271/0.8388, allocations: 262.9 kB / 1.037 GB, free: 10.73 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005915/0.8394, allocations: 360.9 kB / 1.037 GB, free: 10.38 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00286/0.8423, allocations: 2.03 MB / 1.039 GB, free: 8.34 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.8423, allocations: 0 / 1.039 GB, free: 8.34 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.434e-06/0.8423, allocations: 0 / 1.039 GB, free: 8.34 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.508e-05/0.8423, allocations: 0 / 1.039 GB, free: 8.34 MB / 0.795 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.003897/0.8462, allocations: 1.777 MB / 1.041 GB, free: 6.5 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.8463, allocations: 8.031 kB / 1.041 GB, free: 6.492 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002099/0.8465, allocations: 147.9 kB / 1.041 GB, free: 6.34 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007863/0.8473, allocations: 249.8 kB / 1.041 GB, free: 6.094 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/0.8498, allocations: 1.384 MB / 1.043 GB, free: 4.652 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.98e-05/0.8499, allocations: 78 kB / 1.043 GB, free: 4.578 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.85, allocations: 100 kB / 1.043 GB, free: 4.48 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.852, allocations: 1.108 MB / 1.044 GB, free: 3.336 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.8521, allocations: 0 / 1.044 GB, free: 3.336 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-05/0.8522, allocations: 36 kB / 1.044 GB, free: 3.301 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.277e-05/0.8522, allocations: 32 kB / 1.044 GB, free: 3.27 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.8541, allocations: 0.9212 MB / 1.045 GB, free: 2.352 MB / 0.795 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.006549/0.8607, allocations: 4.958 MB / 1.05 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.8621, allocations: 0.6561 MB / 1.05 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.8632, allocations: 0.8316 MB / 1.051 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.8632, allocations: 39.12 kB / 1.051 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=62): time 2.825e-06/0.8632, allocations: 0 / 1.051 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of matching and sorting (n=62): time 0.007497/0.8707, allocations: 1.885 MB / 1.053 GB, free: 9.465 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.8708, allocations: 55.97 kB / 1.053 GB, free: 9.398 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/0.8729, allocations: 1.253 MB / 1.054 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.8731, allocations: 41.7 kB / 1.054 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006034/0.8737, allocations: 0.5949 MB / 1.055 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002928/0.874, allocations: 220.8 kB / 1.055 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.874, allocations: 16 kB / 1.055 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.8742, allocations: 341.8 kB / 1.055 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006715/0.8749, allocations: 297.8 kB / 1.056 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008234/0.8757, allocations: 0.4912 MB / 1.056 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008109/0.8765, allocations: 359 kB / 1.057 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.8765, allocations: 0 / 1.057 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00482/0.8814, allocations: 1.406 MB / 1.058 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008384/0.8822, allocations: 1.336 MB / 1.059 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.8822, allocations: 4 kB / 1.059 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007381/0.883, allocations: 168.7 kB / 1.059 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006119/0.8836, allocations: 159.8 kB / 1.06 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009041/0.8845, allocations: 0.7395 MB / 1.06 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.8859, allocations: 167 kB / 1.06 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.389e-05/0.886, allocations: 35.98 kB / 1.06 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.886, allocations: 4 kB / 1.06 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00433/0.8904, allocations: 1.249 MB / 1.062 GB, free: 324 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.8904, allocations: 4.375 kB / 1.062 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006142/0.891, allocations: 168.7 kB / 1.062 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006034/0.8916, allocations: 167.7 kB / 1.062 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008878/0.8925, allocations: 0.7279 MB / 1.063 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.8938, allocations: 155.2 kB / 1.063 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.19e-05/0.8939, allocations: 31.98 kB / 1.063 GB, free: 15.04 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.0007958/0.8947, allocations: 424.9 kB / 1.063 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/0.8949, allocations: 138.4 kB / 1.063 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004795/0.8997, allocations: 1.424 MB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.8998, allocations: 7.984 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.8998, allocations: 0 / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004246/0.904, allocations: 1.24 MB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00766/0.9117, allocations: 2.766 MB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.9117, allocations: 8.062 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004961/0.9122, allocations: 115.9 kB / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006346/0.9129, allocations: 160.7 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.736e-05/0.913, allocations: 20 kB / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009274/0.9139, allocations: 0.7162 MB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/0.9139, allocations: 7.938 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005796/0.9197, allocations: 2.062 MB / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009743/0.9207, allocations: 355 kB / 1.072 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003928/0.9211, allocations: 16 kB / 1.072 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.9223, allocations: 99.84 kB / 1.072 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.9225, allocations: 48.33 kB / 1.072 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.768e-05/0.9225, allocations: 31.98 kB / 1.072 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001646/0.9242, allocations: 0.9011 MB / 1.073 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of sort global known variables: time 6.01e-07/0.9242, allocations: 0 / 1.073 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00257/0.9268, allocations: 0.7135 MB / 1.074 GB, free: 3.371 MB / 0.8262 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.007493/0.9343, allocations: 3.877 MB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002925/0.9372, allocations: 1.164 MB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.9373, allocations: 4 kB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009883/0.9383, allocations: 407.2 kB / 1.079 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004054/0.9423, allocations: 0.7486 MB / 1.08 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007605/0.95, allocations: 5.773 MB / 1.086 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.951, allocations: 1.203 MB / 1.087 GB, free: 5.91 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001508/0.9525, allocations: 307 kB / 1.087 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008265/0.9534, allocations: 0.5071 MB / 1.088 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of SimCode: time 1.203e-06/0.9534, allocations: 0 / 1.088 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07646/1.03, allocations: 41.82 MB / 1.128 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/1.03, allocations: 252 kB / 1.129 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.807/3.837, allocations: 0 / 1.129 GB, free: 11.47 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