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.0008965/0.0008965, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008687/0.0008688, allocations: 168.7 kB / 15.95 MB, free: 204 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.459/1.459, allocations: 223.2 MB / 240 MB, free: 5.406 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.408/2.408, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003494, allocations: 8 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7413/0.7416, allocations: 142.3 MB / 0.9538 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06366/0.8053, allocations: 56.52 MB / 1.009 GB, free: 7.465 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01691/0.8223, allocations: 11.21 MB / 1.02 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002335/0.8247, allocations: 55.62 kB / 1.02 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.8263, allocations: 456.9 kB / 1.02 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005099/0.8315, allocations: 1.534 MB / 1.022 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.8342, allocations: 0.8599 MB / 1.023 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004456/0.8386, allocations: 3.383 MB / 1.026 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.8402, allocations: 0.7937 MB / 1.027 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002295/0.8425, allocations: 1.038 MB / 1.028 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.8437, allocations: 0.8166 MB / 1.029 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.8439, allocations: 44 kB / 1.029 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002361/0.8462, allocations: 1.095 MB / 1.03 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.8465, allocations: 199 kB / 1.03 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000383/0.8469, allocations: 281 kB / 1.03 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.8488, allocations: 1.625 MB / 1.032 GB, free: 8 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.8489, allocations: 3.938 kB / 1.032 GB, free: 4 kB / 0.7794 GB Notification: Performance of FrontEnd: time 1.654e-06/0.8489, allocations: 0 / 1.032 GB, free: 4 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.854e-05/0.8489, allocations: 4 kB / 1.032 GB, free: 0 / 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.002509/0.8514, allocations: 1.497 MB / 1.033 GB, free: 14.44 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.8515, allocations: 12.03 kB / 1.033 GB, free: 14.43 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001498/0.8516, allocations: 122.7 kB / 1.033 GB, free: 14.3 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/0.8537, allocations: 481.8 kB / 1.034 GB, free: 13.83 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002294/0.856, allocations: 1.086 MB / 1.035 GB, free: 12.68 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000327/0.8563, allocations: 125.9 kB / 1.035 GB, free: 12.56 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.8565, allocations: 83.98 kB / 1.035 GB, free: 12.48 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/0.8585, allocations: 1.001 MB / 1.036 GB, free: 11.43 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.8585, allocations: 3.938 kB / 1.036 GB, free: 11.43 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.659e-05/0.8586, allocations: 36 kB / 1.036 GB, free: 11.39 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.8587, allocations: 16 kB / 1.036 GB, free: 11.38 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002187/0.8609, allocations: 0.9055 MB / 1.037 GB, free: 10.48 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.00632/0.8672, allocations: 4.875 MB / 1.042 GB, free: 5.25 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003078/0.8703, allocations: 0.8941 MB / 1.043 GB, free: 4.348 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006954/0.871, allocations: 326 kB / 1.043 GB, free: 4.027 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007148/0.8717, allocations: 0.9024 MB / 1.044 GB, free: 2.922 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.8718, allocations: 38.56 kB / 1.044 GB, free: 2.875 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 2.544e-06/0.8718, allocations: 4 kB / 1.044 GB, free: 2.871 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.007225/0.879, allocations: 1.946 MB / 1.046 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/0.8791, allocations: 59.34 kB / 1.046 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/0.8811, allocations: 1.044 MB / 1.047 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.8812, allocations: 37.7 kB / 1.047 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005001/0.8817, allocations: 0.5235 MB / 1.047 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.8819, allocations: 153.8 kB / 1.048 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.882, allocations: 8 kB / 1.048 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.8821, allocations: 330 kB / 1.048 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008251/0.8829, allocations: 312.9 kB / 1.048 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.884, allocations: 0.5313 MB / 1.049 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008722/0.8848, allocations: 349.3 kB / 1.049 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.8849, allocations: 3.953 kB / 1.049 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003482/0.8883, allocations: 1.219 MB / 1.05 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001866/0.8885, allocations: 209.3 kB / 1.05 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.8886, allocations: 4 kB / 1.05 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.8898, allocations: 332.6 kB / 1.051 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/0.8903, allocations: 119.9 kB / 1.051 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.8918, allocations: 0.959 MB / 1.052 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.893, allocations: 187.3 kB / 1.052 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-05/0.8931, allocations: 27.98 kB / 1.052 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.8931, allocations: 4 kB / 1.052 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003081/0.8962, allocations: 1.074 MB / 1.053 GB, free: 9.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.8963, allocations: 8.438 kB / 1.053 GB, free: 9.219 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.8973, allocations: 323.6 kB / 1.053 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.8978, allocations: 127.9 kB / 1.054 GB, free: 8.777 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.8992, allocations: 0.9347 MB / 1.054 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.9004, allocations: 171.4 kB / 1.055 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/0.9005, allocations: 31.98 kB / 1.055 GB, free: 7.617 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.0006118/0.9011, allocations: 352.9 kB / 1.055 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.9012, allocations: 110.6 kB / 1.055 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/0.9035, allocations: 0.9729 MB / 1.056 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.9036, allocations: 11.98 kB / 1.056 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.9036, allocations: 11.95 kB / 1.056 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.9036, allocations: 0 / 1.056 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00476/0.9084, allocations: 2.249 MB / 1.058 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.9084, allocations: 0 / 1.058 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.9087, allocations: 76.17 kB / 1.058 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009769/0.9097, allocations: 318.3 kB / 1.059 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.9097, allocations: 15.98 kB / 1.059 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.9111, allocations: 0.9757 MB / 1.06 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.9111, allocations: 0 / 1.06 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003336/0.9145, allocations: 1.249 MB / 1.061 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005247/0.915, allocations: 283.4 kB / 1.061 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.9152, allocations: 16 kB / 1.061 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008286/0.916, allocations: 115.9 kB / 1.061 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.893e-05/0.9161, allocations: 39.89 kB / 1.061 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.242e-05/0.9161, allocations: 23.98 kB / 1.061 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001229/0.9174, allocations: 0.7391 MB / 1.062 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9174, allocations: 0 / 1.062 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001563/0.919, allocations: 0.5574 MB / 1.063 GB, free: 15.32 MB / 0.8262 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.00429/0.9232, allocations: 2.062 MB / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003003/0.9263, allocations: 1.159 MB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.9263, allocations: 0 / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008252/0.9271, allocations: 372.4 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/0.9295, allocations: 0.494 MB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/0.9446, allocations: 6.863 MB / 1.073 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.9453, allocations: 1.065 MB / 1.074 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001023/0.9463, allocations: 216.7 kB / 1.074 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005053/0.9468, allocations: 407.3 kB / 1.075 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of SimCode: time 5.21e-07/0.9468, allocations: 0 / 1.075 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05803/1.005, allocations: 33.16 MB / 1.107 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002692/1.005, allocations: 244.8 kB / 1.107 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.623/3.628, allocations: 0 / 1.107 GB, free: 1.27 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