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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001469/0.001468, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.211/2.211, allocations: 390.3 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 71.89 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5388/0.5401, allocations: 140.4 MB / 0.9497 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.04963/0.5898, allocations: 61.21 MB / 1.009 GB, free: 4.465 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01316/0.603, allocations: 11.98 MB / 1.021 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007979/0.6038, allocations: 59.62 kB / 1.021 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.605, allocations: 0.6908 MB / 1.022 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.003052/0.6081, allocations: 1.966 MB / 1.024 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00196/0.6101, allocations: 1.191 MB / 1.025 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002429/0.6125, allocations: 3.073 MB / 1.028 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.6136, allocations: 1.096 MB / 1.029 GB, free: 344 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001891/0.6155, allocations: 1.323 MB / 1.03 GB, free: 15.01 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008686/0.6164, allocations: 0.8945 MB / 1.031 GB, free: 14.11 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.6165, allocations: 116 kB / 1.031 GB, free: 14 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001875/0.6184, allocations: 1.439 MB / 1.033 GB, free: 12.56 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.6186, allocations: 294.8 kB / 1.033 GB, free: 12.27 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005234/0.6192, allocations: 0.6881 MB / 1.034 GB, free: 11.58 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002061/0.6212, allocations: 2.279 MB / 1.036 GB, free: 9.293 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.6212, allocations: 0 / 1.036 GB, free: 9.293 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6213, allocations: 0 / 1.036 GB, free: 9.293 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.6213, allocations: 0 / 1.036 GB, free: 9.293 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.0023/0.6236, allocations: 1.715 MB / 1.038 GB, free: 7.516 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.6236, allocations: 19.91 kB / 1.038 GB, free: 7.496 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.6237, allocations: 122.9 kB / 1.038 GB, free: 7.367 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001967/0.6257, allocations: 410.6 kB / 1.038 GB, free: 6.965 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/0.6273, allocations: 1.097 MB / 1.039 GB, free: 5.812 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003281/0.6276, allocations: 117.9 kB / 1.039 GB, free: 5.695 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-05/0.6278, allocations: 80 kB / 1.039 GB, free: 5.617 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.6294, allocations: 1.005 MB / 1.04 GB, free: 4.555 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.6295, allocations: 3.938 kB / 1.04 GB, free: 4.551 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.98e-05/0.6295, allocations: 36 kB / 1.04 GB, free: 4.516 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.6296, allocations: 20 kB / 1.04 GB, free: 4.496 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.6316, allocations: 0.8547 MB / 1.041 GB, free: 3.637 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.005267/0.6369, allocations: 5.262 MB / 1.046 GB, free: 14 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00313/0.64, allocations: 0.8075 MB / 1.047 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006734/0.6407, allocations: 296.7 kB / 1.047 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000544/0.6412, allocations: 0.9064 MB / 1.048 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.6413, allocations: 38.56 kB / 1.048 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=43): time 1.543e-06/0.6413, allocations: 0 / 1.048 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=43): time 0.006575/0.6479, allocations: 1.755 MB / 1.05 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.6479, allocations: 59.34 kB / 1.05 GB, free: 9.879 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.6493, allocations: 1.08 MB / 1.051 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.38e-05/0.6493, allocations: 37.7 kB / 1.051 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000363/0.6497, allocations: 0.535 MB / 1.052 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.6498, allocations: 149.8 kB / 1.052 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.65, allocations: 130.2 kB / 1.052 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.6501, allocations: 334 kB / 1.052 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008327/0.651, allocations: 311.2 kB / 1.053 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.652, allocations: 0.5291 MB / 1.053 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.6536, allocations: 0.7211 MB / 1.054 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.6536, allocations: 0 / 1.054 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002496/0.6561, allocations: 1.02 MB / 1.055 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.6561, allocations: 11.94 kB / 1.055 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.6561, allocations: 4 kB / 1.055 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.6573, allocations: 332.5 kB / 1.055 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.6578, allocations: 123.8 kB / 1.055 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.6592, allocations: 0.9172 MB / 1.056 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.6602, allocations: 155.2 kB / 1.056 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.338e-05/0.6603, allocations: 31.98 kB / 1.056 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001074/0.6614, allocations: 0.5129 MB / 1.057 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009812/0.6624, allocations: 0.529 MB / 1.057 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001531/0.6639, allocations: 0.718 MB / 1.058 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/0.664, allocations: 0 / 1.058 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002439/0.6664, allocations: 1.023 MB / 1.059 GB, free: 280 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.6664, allocations: 10.03 kB / 1.059 GB, free: 272 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.6664, allocations: 7.938 kB / 1.059 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009935/0.6674, allocations: 308.6 kB / 1.059 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004924/0.6679, allocations: 127.8 kB / 1.06 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.6693, allocations: 0.9122 MB / 1.06 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.6703, allocations: 139.5 kB / 1.061 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.406e-05/0.6703, allocations: 35.98 kB / 1.061 GB, free: 14.72 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.6705, allocations: 212.1 kB / 1.061 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.6707, allocations: 110.6 kB / 1.061 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/0.6728, allocations: 0.9263 MB / 1.062 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.6729, allocations: 8 kB / 1.062 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.6729, allocations: 3.938 kB / 1.062 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.6729, allocations: 7.984 kB / 1.062 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004609/0.6775, allocations: 2.15 MB / 1.064 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.6775, allocations: 3.938 kB / 1.064 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.6778, allocations: 64.17 kB / 1.064 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009142/0.6787, allocations: 308.6 kB / 1.064 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.6787, allocations: 12 kB / 1.064 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/0.6801, allocations: 0.9392 MB / 1.065 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.6801, allocations: 4.062 kB / 1.065 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003332/0.6835, allocations: 1.167 MB / 1.066 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003009/0.6838, allocations: 263.5 kB / 1.067 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.6839, allocations: 12 kB / 1.067 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007687/0.6847, allocations: 75.91 kB / 1.067 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.188e-05/0.6848, allocations: 39.83 kB / 1.067 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/0.6848, allocations: 23.98 kB / 1.067 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009849/0.6858, allocations: 0.759 MB / 1.068 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.6858, allocations: 0 / 1.068 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001233/0.6871, allocations: 0.5537 MB / 1.068 GB, free: 6.891 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004174/0.6912, allocations: 1.989 MB / 1.07 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002924/0.6942, allocations: 1.152 MB / 1.071 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6942, allocations: 0 / 1.071 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008233/0.695, allocations: 354.8 kB / 1.071 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/0.697, allocations: 0.5088 MB / 1.072 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/0.7125, allocations: 8.921 MB / 1.081 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000551/0.7131, allocations: 1.061 MB / 1.082 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0007701/0.7139, allocations: 220.8 kB / 1.082 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004636/0.7143, allocations: 419.3 kB / 1.082 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.7143, allocations: 0 / 1.082 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.158/1.872, allocations: 33.28 MB / 1.115 GB, free: 6.879 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.37/21.24, allocations: 26.53 kB / 1.115 GB, free: 6.859 MB / 0.8731 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/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)