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.007286/0.007286, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001563/0.001563, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.172/2.172, allocations: 390.3 MB / 0.6648 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 67.89 kB / 0.9504 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178/1.18, allocations: 140.4 MB / 1.087 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06655/1.247, allocations: 61.2 MB / 1.147 GB, free: 9.441 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01906/1.266, allocations: 11.98 MB / 1.159 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003666/1.27, allocations: 57.09 kB / 1.159 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002596/1.272, allocations: 0.687 MB / 1.16 GB, free: 388 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008211/1.28, allocations: 1.977 MB / 1.162 GB, free: 15.19 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004436/1.285, allocations: 1.204 MB / 1.163 GB, free: 14.52 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006698/1.292, allocations: 3.083 MB / 1.166 GB, free: 13.01 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002255/1.294, allocations: 1.089 MB / 1.167 GB, free: 12.47 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004763/1.299, allocations: 1.328 MB / 1.168 GB, free: 11.81 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002175/1.301, allocations: 0.8954 MB / 1.169 GB, free: 11.39 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002128/1.301, allocations: 115.6 kB / 1.169 GB, free: 11.39 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004586/1.306, allocations: 1.447 MB / 1.171 GB, free: 10.9 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004362/1.306, allocations: 297 kB / 1.171 GB, free: 10.71 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001106/1.307, allocations: 0.6904 MB / 1.171 GB, free: 10.28 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005437/1.313, allocations: 2.293 MB / 1.174 GB, free: 9.152 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/1.313, allocations: 3.984 kB / 1.174 GB, free: 9.148 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.146e-06/1.313, allocations: 0 / 1.174 GB, free: 9.148 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.069e-05/1.313, allocations: 1.062 kB / 1.174 GB, free: 9.148 MB / 0.92 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.003959/1.317, allocations: 1.729 MB / 1.175 GB, free: 7.805 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/1.317, allocations: 9.312 kB / 1.175 GB, free: 7.805 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/1.317, allocations: 124.5 kB / 1.176 GB, free: 7.699 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002337/1.319, allocations: 414.6 kB / 1.176 GB, free: 7.508 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002571/1.322, allocations: 1.15 MB / 1.177 GB, free: 6.59 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.218e-05/1.322, allocations: 65.53 kB / 1.177 GB, free: 6.559 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/1.322, allocations: 78 kB / 1.177 GB, free: 6.535 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002266/1.324, allocations: 0.9938 MB / 1.178 GB, free: 5.875 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/1.324, allocations: 2.031 kB / 1.178 GB, free: 5.875 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.76e-05/1.324, allocations: 36.34 kB / 1.178 GB, free: 5.848 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.993e-05/1.325, allocations: 18.66 kB / 1.178 GB, free: 5.848 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002439/1.327, allocations: 0.8545 MB / 1.179 GB, free: 5.418 MB / 0.92 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.007702/1.335, allocations: 5.232 MB / 1.184 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003528/1.338, allocations: 0.7825 MB / 1.185 GB, free: 272 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007994/1.339, allocations: 306.6 kB / 1.185 GB, free: 116 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008675/1.34, allocations: 0.9063 MB / 1.186 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/1.34, allocations: 37.47 kB / 1.186 GB, free: 15 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=43): time 2.625e-06/1.34, allocations: 0 / 1.186 GB, free: 15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43): time 0.007294/1.347, allocations: 1.688 MB / 1.188 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/1.347, allocations: 56.62 kB / 1.188 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/1.349, allocations: 1.081 MB / 1.189 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.298e-05/1.349, allocations: 38.98 kB / 1.189 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005078/1.35, allocations: 0.5288 MB / 1.189 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/1.35, allocations: 149.6 kB / 1.19 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/1.35, allocations: 134.9 kB / 1.19 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.351, allocations: 331.1 kB / 1.19 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009689/1.351, allocations: 304.6 kB / 1.19 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/1.353, allocations: 0.5331 MB / 1.191 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00185/1.355, allocations: 0.7038 MB / 1.192 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/1.355, allocations: 2.844 kB / 1.192 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003087/1.358, allocations: 1.007 MB / 1.193 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/1.358, allocations: 15.34 kB / 1.193 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/1.358, allocations: 5.5 kB / 1.193 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/1.359, allocations: 316.3 kB / 1.193 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006089/1.36, allocations: 132.2 kB / 1.193 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/1.361, allocations: 0.9008 MB / 1.194 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/1.363, allocations: 143.9 kB / 1.194 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.53e-05/1.363, allocations: 35.92 kB / 1.194 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001427/1.364, allocations: 0.5067 MB / 1.195 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001124/1.366, allocations: 0.5268 MB / 1.195 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001717/1.367, allocations: 0.7021 MB / 1.196 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.604e-06/1.367, allocations: 9.016 kB / 1.196 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002872/1.37, allocations: 1.006 MB / 1.197 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/1.37, allocations: 7.156 kB / 1.197 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.37, allocations: 5.281 kB / 1.197 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/1.371, allocations: 303.7 kB / 1.197 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005972/1.372, allocations: 128.3 kB / 1.197 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/1.373, allocations: 0.8978 MB / 1.198 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/1.375, allocations: 133.6 kB / 1.198 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.527e-05/1.375, allocations: 34.2 kB / 1.198 GB, free: 7.098 MB / 0.9356 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.0002482/1.375, allocations: 213.4 kB / 1.198 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/1.375, allocations: 116 kB / 1.198 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/1.378, allocations: 0.9147 MB / 1.199 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/1.378, allocations: 8.359 kB / 1.199 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.378, allocations: 0.9375 kB / 1.199 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/1.378, allocations: 0 / 1.199 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005025/1.383, allocations: 2.137 MB / 1.201 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/1.383, allocations: 1.875 kB / 1.201 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/1.383, allocations: 64.67 kB / 1.202 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000958/1.384, allocations: 298.2 kB / 1.202 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/1.384, allocations: 14.58 kB / 1.202 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/1.385, allocations: 0.9227 MB / 1.203 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.385, allocations: 7.188 kB / 1.203 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003601/1.389, allocations: 1.14 MB / 1.204 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005119/1.39, allocations: 268.6 kB / 1.204 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/1.39, allocations: 12.44 kB / 1.204 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008987/1.391, allocations: 73.5 kB / 1.204 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.373e-05/1.391, allocations: 44.2 kB / 1.204 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.82e-05/1.391, allocations: 27.08 kB / 1.204 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001483/1.392, allocations: 0.7564 MB / 1.205 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.61e-07/1.392, allocations: 0 / 1.205 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002192/1.395, allocations: 0.5636 MB / 1.206 GB, free: 2.383 MB / 0.9356 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.005684/1.4, allocations: 1.965 MB / 1.207 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003804/1.404, allocations: 1.117 MB / 1.209 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.404, allocations: 0 / 1.209 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000951/1.405, allocations: 344.2 kB / 1.209 GB, free: 280 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/1.408, allocations: 0.5122 MB / 1.209 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02042/1.429, allocations: 8.414 MB / 1.218 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000795/1.43, allocations: 1.061 MB / 1.219 GB, free: 5.941 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001016/1.431, allocations: 224.8 kB / 1.219 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006128/1.431, allocations: 415.3 kB / 1.219 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of SimCode: time 1.293e-06/1.431, allocations: 0 / 1.219 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.689/6.12, allocations: 33.5 MB / 1.252 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/21.16, allocations: 3.984 kB / 1.252 GB, free: 4.262 MB / 0.9825 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)