Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.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.Examples.Carnot_y,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_y",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.001216/0.001216, allocations: 100.3 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.001607/0.001607, allocations: 177.3 kB / 15.95 MB, free: 216 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.411/1.411, allocations: 223.2 MB / 239.9 MB, free: 5.355 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.489/2.489, allocations: 390.3 MB / 0.6653 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.0004377, allocations: 8 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8086/0.8091, allocations: 142.3 MB / 0.9536 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.06374/0.8729, allocations: 62.95 MB / 1.015 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01717/0.8901, allocations: 11 MB / 1.026 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.8924, allocations: 55.62 kB / 1.026 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002312/0.8947, allocations: 0.7462 MB / 1.027 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006606/0.9013, allocations: 2.302 MB / 1.029 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004243/0.9056, allocations: 1.521 MB / 1.03 GB, free: 1.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005257/0.9108, allocations: 2.506 MB / 1.033 GB, free: 14.92 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001962/0.9128, allocations: 1.049 MB / 1.034 GB, free: 13.84 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003045/0.9159, allocations: 1.144 MB / 1.035 GB, free: 12.69 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.9176, allocations: 0.77 MB / 1.036 GB, free: 11.92 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.9177, allocations: 56 kB / 1.036 GB, free: 11.86 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003073/0.9208, allocations: 0.8387 MB / 1.037 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003492/0.9212, allocations: 262.9 kB / 1.037 GB, free: 10.77 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005757/0.9218, allocations: 356.9 kB / 1.037 GB, free: 10.41 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003016/0.9248, allocations: 2.014 MB / 1.039 GB, free: 8.391 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.9248, allocations: 0 / 1.039 GB, free: 8.391 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.488e-06/0.9248, allocations: 0 / 1.039 GB, free: 8.391 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.403e-05/0.9249, allocations: 0 / 1.039 GB, free: 8.391 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.004686/0.9296, allocations: 1.779 MB / 1.041 GB, free: 6.547 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.9296, allocations: 8.031 kB / 1.041 GB, free: 6.539 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002507/0.9299, allocations: 151.9 kB / 1.041 GB, free: 6.383 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008305/0.9307, allocations: 238 kB / 1.041 GB, free: 6.148 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002526/0.9333, allocations: 1.38 MB / 1.043 GB, free: 4.711 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.405e-05/0.9334, allocations: 85.94 kB / 1.043 GB, free: 4.629 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.9335, allocations: 100 kB / 1.043 GB, free: 4.531 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.9358, allocations: 1.104 MB / 1.044 GB, free: 3.391 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.9358, allocations: 8 kB / 1.044 GB, free: 3.383 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.9359, allocations: 36 kB / 1.044 GB, free: 3.348 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.405e-05/0.936, allocations: 35.92 kB / 1.044 GB, free: 3.312 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.9379, allocations: 0.9173 MB / 1.045 GB, free: 2.398 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.006918/0.9448, allocations: 4.954 MB / 1.05 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.9462, allocations: 0.6293 MB / 1.05 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006729/0.9469, allocations: 0.8316 MB / 1.051 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.947, allocations: 43.06 kB / 1.051 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=61): time 2.394e-06/0.947, allocations: 0 / 1.051 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=61): time 0.007287/0.9543, allocations: 1.877 MB / 1.053 GB, free: 9.547 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.9543, allocations: 55.97 kB / 1.053 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/0.9562, allocations: 1.241 MB / 1.054 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001324/0.9564, allocations: 41.7 kB / 1.054 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000535/0.9569, allocations: 0.6026 MB / 1.055 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/0.9571, allocations: 216.8 kB / 1.055 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.9572, allocations: 16 kB / 1.055 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.9573, allocations: 341.9 kB / 1.055 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006732/0.958, allocations: 297.8 kB / 1.056 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008522/0.9589, allocations: 0.497 MB / 1.056 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007597/0.9596, allocations: 355 kB / 1.056 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.9597, allocations: 0 / 1.056 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004787/0.9644, allocations: 1.394 MB / 1.058 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006062/0.9651, allocations: 1.419 MB / 1.059 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.9651, allocations: 4 kB / 1.059 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006052/0.9657, allocations: 148.7 kB / 1.059 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006247/0.9663, allocations: 171.8 kB / 1.06 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008668/0.9672, allocations: 0.7084 MB / 1.06 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.9685, allocations: 163.1 kB / 1.06 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.33e-05/0.9686, allocations: 39.98 kB / 1.06 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.9686, allocations: 4 kB / 1.06 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00442/0.973, allocations: 1.241 MB / 1.062 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.9731, allocations: 4.094 kB / 1.062 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004958/0.9736, allocations: 156.9 kB / 1.062 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006/0.9742, allocations: 163.8 kB / 1.062 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008639/0.975, allocations: 0.7045 MB / 1.063 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.9764, allocations: 163.1 kB / 1.063 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.015e-05/0.9765, allocations: 35.98 kB / 1.063 GB, free: 15.12 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008149/0.9773, allocations: 424.8 kB / 1.063 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002673/0.9775, allocations: 134.3 kB / 1.063 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004673/0.9822, allocations: 1.392 MB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.9823, allocations: 8 kB / 1.065 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.9823, allocations: 0 / 1.065 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004171/0.9865, allocations: 1.228 MB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007073/0.9935, allocations: 2.762 MB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.9936, allocations: 4 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004861/0.9941, allocations: 120.3 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005077/0.9946, allocations: 136.7 kB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/0.9946, allocations: 23.94 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005082/0.9997, allocations: 2.501 MB / 1.071 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.9998, allocations: 7.938 kB / 1.071 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005792/1.006, allocations: 2.065 MB / 1.073 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000982/1.007, allocations: 343 kB / 1.074 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/1.007, allocations: 20 kB / 1.074 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009034/1.008, allocations: 103.8 kB / 1.074 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/1.008, allocations: 60.25 kB / 1.074 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.058e-05/1.008, allocations: 27.98 kB / 1.074 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001462/1.009, allocations: 0.9012 MB / 1.075 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/1.009, allocations: 0 / 1.075 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002096/1.011, allocations: 0.7213 MB / 1.075 GB, free: 1.598 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 (56): * Single equations (assignments): 51 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.006879/1.018, allocations: 3.841 MB / 1.079 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002737/1.021, allocations: 1.16 MB / 1.08 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.021, allocations: 3.938 kB / 1.08 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001497/1.023, allocations: 0.5955 MB / 1.081 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003593/1.026, allocations: 0.7531 MB / 1.082 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006316/1.033, allocations: 5.932 MB / 1.087 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007621/1.033, allocations: 1.2 MB / 1.089 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001341/1.035, allocations: 310.9 kB / 1.089 GB, free: 3.492 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000673/1.035, allocations: 0.5032 MB / 1.089 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of SimCode: time 1.082e-06/1.035, allocations: 0 / 1.089 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06973/1.105, allocations: 41.87 MB / 1.13 GB, free: 9.648 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/1.105, allocations: 234.8 kB / 1.131 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.759/3.864, allocations: 0 / 1.131 GB, free: 9.414 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat does not exist to compare? outputFormat=mat