Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_10_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.001146/0.001146, allocations: 108 kB / 15.6 MB, free: 132 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.001234/0.001234, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.442/2.442, allocations: 437.1 MB / 0.7104 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 71.81 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6196/0.6211, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.04976/0.6709, allocations: 61.2 MB / 1.077 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01436/0.6853, allocations: 11.99 MB / 1.089 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.6866, allocations: 63.62 kB / 1.089 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.6881, allocations: 0.687 MB / 1.09 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00361/0.6917, allocations: 1.96 MB / 1.092 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.694, allocations: 1.195 MB / 1.093 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002667/0.6967, allocations: 3.072 MB / 1.096 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.6978, allocations: 1.1 MB / 1.097 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002026/0.6998, allocations: 1.328 MB / 1.098 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009186/0.7008, allocations: 0.8867 MB / 1.099 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.7009, allocations: 112 kB / 1.099 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.703, allocations: 1.447 MB / 1.1 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.7032, allocations: 286.9 kB / 1.101 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005473/0.7038, allocations: 0.6958 MB / 1.101 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002187/0.706, allocations: 2.271 MB / 1.104 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.706, allocations: 3.938 kB / 1.104 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.113e-06/0.706, allocations: 0 / 1.104 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.706, allocations: 4 kB / 1.104 GB, free: 9.855 MB / 0.8575 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.002419/0.7085, allocations: 1.724 MB / 1.105 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.7085, allocations: 12.02 kB / 1.105 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/0.7086, allocations: 118.9 kB / 1.105 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.7106, allocations: 410.8 kB / 1.106 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.7123, allocations: 1.105 MB / 1.107 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003411/0.7127, allocations: 121.8 kB / 1.107 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.976e-05/0.7128, allocations: 84 kB / 1.107 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.7145, allocations: 1.005 MB / 1.108 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.7146, allocations: 3.938 kB / 1.108 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.911e-05/0.7146, allocations: 32 kB / 1.108 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.7147, allocations: 20 kB / 1.108 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.7168, allocations: 0.8508 MB / 1.109 GB, free: 4.199 MB / 0.8575 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.005442/0.7223, allocations: 5.261 MB / 1.114 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003333/0.7256, allocations: 0.8042 MB / 1.115 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007014/0.7263, allocations: 298.5 kB / 1.115 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005504/0.7269, allocations: 0.9025 MB / 1.116 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.7269, allocations: 42.5 kB / 1.116 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 2.274e-06/0.7269, allocations: 4 kB / 1.116 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43): time 0.006992/0.7339, allocations: 1.747 MB / 1.118 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.734, allocations: 59.41 kB / 1.118 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.7354, allocations: 1.08 MB / 1.119 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.579e-05/0.7355, allocations: 37.7 kB / 1.119 GB, free: 9.309 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/0.7359, allocations: 0.5272 MB / 1.119 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.736, allocations: 149.8 kB / 1.12 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.7363, allocations: 134.2 kB / 1.12 GB, free: 8.492 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.7364, allocations: 337.9 kB / 1.12 GB, free: 8.156 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008932/0.7373, allocations: 307.2 kB / 1.12 GB, free: 7.852 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.7383, allocations: 0.5329 MB / 1.121 GB, free: 7.223 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/0.74, allocations: 0.7213 MB / 1.122 GB, free: 6.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.74, allocations: 0 / 1.122 GB, free: 6.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002671/0.7427, allocations: 1.02 MB / 1.123 GB, free: 5.398 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.7427, allocations: 12.03 kB / 1.123 GB, free: 5.387 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.7428, allocations: 12 kB / 1.123 GB, free: 5.375 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.7441, allocations: 325.7 kB / 1.123 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005254/0.7446, allocations: 123.8 kB / 1.123 GB, free: 4.934 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.746, allocations: 0.9242 MB / 1.124 GB, free: 3.984 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.7472, allocations: 151.2 kB / 1.124 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.21e-05/0.7473, allocations: 35.98 kB / 1.124 GB, free: 3.801 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001181/0.7484, allocations: 0.5128 MB / 1.125 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001028/0.7495, allocations: 0.5213 MB / 1.125 GB, free: 2.664 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001634/0.7511, allocations: 0.7141 MB / 1.126 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.528e-06/0.7511, allocations: 0 / 1.126 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002651/0.7538, allocations: 1.02 MB / 1.127 GB, free: 0.8477 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.7538, allocations: 8 kB / 1.127 GB, free: 0.8398 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.7538, allocations: 7.984 kB / 1.127 GB, free: 0.832 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.7549, allocations: 312.5 kB / 1.127 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005157/0.7554, allocations: 123.8 kB / 1.127 GB, free: 412 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.7569, allocations: 0.9123 MB / 1.128 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.758, allocations: 139.5 kB / 1.128 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.569e-05/0.7581, allocations: 31.98 kB / 1.128 GB, free: 15.3 MB / 0.8887 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.0002078/0.7583, allocations: 217.3 kB / 1.129 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/0.7585, allocations: 114.6 kB / 1.129 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/0.7609, allocations: 0.9262 MB / 1.13 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.7609, allocations: 15.98 kB / 1.13 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.7609, allocations: 0 / 1.13 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.7609, allocations: 0 / 1.13 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004964/0.7659, allocations: 2.173 MB / 1.132 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.7659, allocations: 8.031 kB / 1.132 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.7662, allocations: 63.89 kB / 1.132 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009745/0.7672, allocations: 304.4 kB / 1.132 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/0.7672, allocations: 12 kB / 1.132 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/0.7687, allocations: 0.947 MB / 1.133 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.7687, allocations: 4 kB / 1.133 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003525/0.7722, allocations: 1.156 MB / 1.134 GB, free: 9.191 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003703/0.7726, allocations: 267.5 kB / 1.134 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.7728, allocations: 12 kB / 1.134 GB, free: 8.898 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008114/0.7736, allocations: 75.84 kB / 1.134 GB, free: 8.824 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.051e-05/0.7737, allocations: 39.83 kB / 1.134 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.048e-05/0.7737, allocations: 31.98 kB / 1.134 GB, free: 8.754 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001115/0.7749, allocations: 0.7551 MB / 1.135 GB, free: 7.992 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2e-07/0.7749, allocations: 0 / 1.135 GB, free: 7.992 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001501/0.7764, allocations: 0.5614 MB / 1.136 GB, free: 7.43 MB / 0.8887 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.00445/0.7808, allocations: 1.975 MB / 1.138 GB, free: 5.398 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003291/0.7841, allocations: 1.145 MB / 1.139 GB, free: 4.258 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.7842, allocations: 4 kB / 1.139 GB, free: 4.254 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008855/0.785, allocations: 346.6 kB / 1.139 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/0.7872, allocations: 0.5162 MB / 1.14 GB, free: 3.414 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/0.8044, allocations: 8.916 MB / 1.148 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005969/0.805, allocations: 1.061 MB / 1.149 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008912/0.8059, allocations: 224.8 kB / 1.15 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004836/0.8064, allocations: 419.3 kB / 1.15 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of SimCode: time 4.91e-07/0.8064, allocations: 0 / 1.15 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.056/6.863, allocations: 33.29 MB / 1.183 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/20.68, allocations: 7.984 kB / 1.183 GB, free: 7.422 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)