Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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_TEva,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_TEva",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.0009596/0.0009596, allocations: 98.92 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.001057/0.001057, 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.358/1.358, allocations: 223.2 MB / 239.9 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.358/2.358, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003916, allocations: 8 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7276/0.728, allocations: 142.3 MB / 0.9536 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05742/0.7855, allocations: 51.31 MB / 1.004 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01835/0.8039, allocations: 10.31 MB / 1.014 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002675/0.8066, allocations: 47.69 kB / 1.014 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002637/0.8092, allocations: 0.6335 MB / 1.014 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007704/0.817, allocations: 1.948 MB / 1.016 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004721/0.8217, allocations: 1.299 MB / 1.018 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004704/0.8264, allocations: 1.851 MB / 1.019 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001805/0.8283, allocations: 0.8174 MB / 1.02 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002467/0.8307, allocations: 0.9886 MB / 1.021 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.8318, allocations: 0.5949 MB / 1.022 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.832, allocations: 40 kB / 1.022 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002365/0.8343, allocations: 0.9946 MB / 1.023 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003592/0.8347, allocations: 195.2 kB / 1.023 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003953/0.8351, allocations: 281 kB / 1.023 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002337/0.8375, allocations: 1.578 MB / 1.025 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.8375, allocations: 7.938 kB / 1.025 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.435e-06/0.8375, allocations: 0 / 1.025 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.799e-05/0.8375, allocations: 0 / 1.025 GB, free: 7.188 MB / 0.7794 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.003044/0.8405, allocations: 1.481 MB / 1.026 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/0.8406, allocations: 16.02 kB / 1.026 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001869/0.8408, allocations: 118.7 kB / 1.026 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002268/0.8431, allocations: 477.9 kB / 1.027 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002296/0.8454, allocations: 1.051 MB / 1.028 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003579/0.8458, allocations: 129.9 kB / 1.028 GB, free: 3.805 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.8459, allocations: 80 kB / 1.028 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/0.8481, allocations: 0.9973 MB / 1.029 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.8481, allocations: 3.938 kB / 1.029 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-05/0.8482, allocations: 32 kB / 1.029 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.8482, allocations: 20 kB / 1.029 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/0.8506, allocations: 0.9016 MB / 1.03 GB, free: 1.73 MB / 0.7794 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.007581/0.8582, allocations: 4.905 MB / 1.035 GB, free: 12.47 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003663/0.8619, allocations: 0.9097 MB / 1.036 GB, free: 11.55 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009385/0.8629, allocations: 0.8985 MB / 1.036 GB, free: 10.45 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.8629, allocations: 42.56 kB / 1.037 GB, free: 10.4 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 2.835e-06/0.8629, allocations: 0 / 1.037 GB, free: 10.4 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.007654/0.8706, allocations: 1.944 MB / 1.038 GB, free: 8.426 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.8707, allocations: 59.41 kB / 1.038 GB, free: 8.355 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.8723, allocations: 1.063 MB / 1.04 GB, free: 7.277 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-05/0.8724, allocations: 33.7 kB / 1.04 GB, free: 7.238 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000446/0.8729, allocations: 0.5235 MB / 1.04 GB, free: 6.711 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.873, allocations: 145.8 kB / 1.04 GB, free: 6.566 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.8731, allocations: 12 kB / 1.04 GB, free: 6.555 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.8732, allocations: 330 kB / 1.041 GB, free: 6.227 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008878/0.8741, allocations: 320.9 kB / 1.041 GB, free: 5.914 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.8752, allocations: 0.5196 MB / 1.041 GB, free: 5.316 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009399/0.8762, allocations: 357.3 kB / 1.042 GB, free: 4.969 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.8762, allocations: 3.938 kB / 1.042 GB, free: 4.965 MB / 0.795 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003714/0.8799, allocations: 1.227 MB / 1.043 GB, free: 3.727 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007696/0.8807, allocations: 1.672 MB / 1.045 GB, free: 1.934 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.8807, allocations: 4 kB / 1.045 GB, free: 1.93 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/0.882, allocations: 324.6 kB / 1.045 GB, free: 1.609 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005729/0.8826, allocations: 127.8 kB / 1.045 GB, free: 1.484 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.8841, allocations: 0.9533 MB / 1.046 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.8855, allocations: 187.2 kB / 1.046 GB, free: 332 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-05/0.8856, allocations: 27.98 kB / 1.046 GB, free: 304 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.8856, allocations: 4 kB / 1.046 GB, free: 300 kB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003293/0.8889, allocations: 1.074 MB / 1.047 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.8889, allocations: 4 kB / 1.047 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.8901, allocations: 329.1 kB / 1.047 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005361/0.8906, allocations: 123.8 kB / 1.048 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.8922, allocations: 0.9387 MB / 1.048 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.8936, allocations: 167.3 kB / 1.049 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.911e-05/0.8936, allocations: 27.98 kB / 1.049 GB, free: 13.61 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007449/0.8944, allocations: 353 kB / 1.049 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.8946, allocations: 114.6 kB / 1.049 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/0.8971, allocations: 0.9729 MB / 1.05 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.8971, allocations: 11.94 kB / 1.05 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.8971, allocations: 0 / 1.05 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.8971, allocations: 0 / 1.05 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005455/0.9026, allocations: 2.272 MB / 1.052 GB, free: 9.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.9026, allocations: 0 / 1.052 GB, free: 9.785 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/0.9029, allocations: 71.89 kB / 1.052 GB, free: 9.715 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/0.904, allocations: 334.2 kB / 1.053 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/0.9041, allocations: 12 kB / 1.053 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/0.9056, allocations: 0.9755 MB / 1.054 GB, free: 8.375 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.9056, allocations: 4.062 kB / 1.054 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003846/0.9095, allocations: 1.356 MB / 1.055 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000763/0.9103, allocations: 291.5 kB / 1.055 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002463/0.9106, allocations: 11.98 kB / 1.055 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009662/0.9115, allocations: 123.7 kB / 1.055 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.495e-05/0.9116, allocations: 35.89 kB / 1.055 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.664e-05/0.9117, allocations: 27.98 kB / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001281/0.913, allocations: 0.7469 MB / 1.056 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.81e-07/0.913, allocations: 0 / 1.056 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001731/0.9147, allocations: 0.5574 MB / 1.057 GB, free: 5.109 MB / 0.8106 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 (33): * Single equations (assignments): 28 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.005135/0.9199, allocations: 2.792 MB / 1.059 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003361/0.9233, allocations: 1.159 MB / 1.061 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.9233, allocations: 4 kB / 1.061 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009106/0.9242, allocations: 368.3 kB / 1.061 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/0.9268, allocations: 0.4928 MB / 1.061 GB, free: 224 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007929/0.9348, allocations: 6.081 MB / 1.067 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007113/0.9355, allocations: 1.085 MB / 1.068 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001039/0.9366, allocations: 216.7 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005388/0.9371, allocations: 407.3 kB / 1.069 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of SimCode: time 1.062e-06/0.9371, allocations: 0 / 1.069 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06232/0.9995, allocations: 32.84 MB / 1.101 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/0.9998, allocations: 243.9 kB / 1.101 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.48/3.479, allocations: 4 kB / 1.101 GB, free: 7.605 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat does not exist to compare? outputFormat=mat