Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Validation.Carnot_TEva_HighTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature",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.0009813/0.0009813, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001236/0.001236, allocations: 177.2 kB / 16.27 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.263/1.263, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.504/2.504, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002924/0.0002924, allocations: 12.03 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2366, allocations: 159.6 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.05408/0.2907, allocations: 59.82 MB / 1.117 GB, free: 8.84 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01441/0.3051, allocations: 11.93 MB / 1.129 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.3066, allocations: 55.62 kB / 1.129 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.3082, allocations: 0.5438 MB / 1.129 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004262/0.3124, allocations: 1.811 MB / 1.131 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.3149, allocations: 1.078 MB / 1.132 GB, free: 9.379 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003969/0.3189, allocations: 3.913 MB / 1.136 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.3202, allocations: 0.9071 MB / 1.137 GB, free: 4.52 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/0.3222, allocations: 1.128 MB / 1.138 GB, free: 3.387 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.3234, allocations: 0.8669 MB / 1.139 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.3236, allocations: 44 kB / 1.139 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.3258, allocations: 1.333 MB / 1.14 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.326, allocations: 214.9 kB / 1.14 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005758/0.3266, allocations: 0.6427 MB / 1.141 GB, free: 280 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002096/0.3287, allocations: 2.196 MB / 1.143 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3287, allocations: 0 / 1.143 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3287, allocations: 3.938 kB / 1.143 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.3287, allocations: 0 / 1.143 GB, free: 14.07 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00241/0.3311, allocations: 1.516 MB / 1.145 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3312, allocations: 15.97 kB / 1.145 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001351/0.3313, allocations: 122.9 kB / 1.145 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002233/0.3335, allocations: 482.8 kB / 1.145 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.3353, allocations: 1.135 MB / 1.146 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003651/0.3357, allocations: 121.9 kB / 1.147 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.3358, allocations: 84 kB / 1.147 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.3378, allocations: 1.036 MB / 1.148 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.3379, allocations: 3.984 kB / 1.148 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.931e-05/0.338, allocations: 32 kB / 1.148 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.338, allocations: 20 kB / 1.148 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002426/0.3404, allocations: 0.9485 MB / 1.149 GB, free: 8.398 MB / 0.9044 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.005719/0.3461, allocations: 4.907 MB / 1.153 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003719/0.3499, allocations: 0.906 MB / 1.154 GB, free: 2.215 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008279/0.3507, allocations: 346.4 kB / 1.155 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005699/0.3513, allocations: 0.9141 MB / 1.155 GB, free: 0.7578 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.3513, allocations: 34.56 kB / 1.156 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 1.713e-06/0.3513, allocations: 4 kB / 1.156 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.00664/0.358, allocations: 1.837 MB / 1.157 GB, free: 14.84 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.358, allocations: 59.41 kB / 1.157 GB, free: 14.77 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.3594, allocations: 1.064 MB / 1.158 GB, free: 13.7 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.299e-05/0.3594, allocations: 37.7 kB / 1.158 GB, free: 13.65 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/0.3598, allocations: 0.5313 MB / 1.159 GB, free: 13.12 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.36, allocations: 149.8 kB / 1.159 GB, free: 12.97 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.36, allocations: 45.7 kB / 1.159 GB, free: 12.92 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.121e-05/0.3601, allocations: 330 kB / 1.159 GB, free: 12.59 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009844/0.3611, allocations: 344.9 kB / 1.16 GB, free: 12.25 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.3622, allocations: 0.5489 MB / 1.16 GB, free: 11.62 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/0.3641, allocations: 0.7726 MB / 1.161 GB, free: 10.79 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.3641, allocations: 4 kB / 1.161 GB, free: 10.79 MB / 0.92 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00273/0.3668, allocations: 1.086 MB / 1.162 GB, free: 9.688 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.3669, allocations: 225.4 kB / 1.162 GB, free: 9.406 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3669, allocations: 7.938 kB / 1.162 GB, free: 9.398 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.3682, allocations: 332.5 kB / 1.163 GB, free: 9.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005798/0.3688, allocations: 139.8 kB / 1.163 GB, free: 8.934 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.3702, allocations: 0.9348 MB / 1.164 GB, free: 7.973 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.3715, allocations: 199.2 kB / 1.164 GB, free: 7.777 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.217e-05/0.3715, allocations: 35.98 kB / 1.164 GB, free: 7.742 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.262e-06/0.3716, allocations: 8 kB / 1.164 GB, free: 7.734 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00261/0.3742, allocations: 0.9526 MB / 1.165 GB, free: 6.777 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3742, allocations: 4 kB / 1.165 GB, free: 6.773 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.3753, allocations: 325.1 kB / 1.165 GB, free: 6.453 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005553/0.3758, allocations: 135.8 kB / 1.165 GB, free: 6.32 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.3773, allocations: 0.9336 MB / 1.166 GB, free: 5.363 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.3783, allocations: 179.4 kB / 1.166 GB, free: 5.188 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/0.3784, allocations: 27.98 kB / 1.166 GB, free: 5.16 MB / 0.92 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 (52): * Single equations (assignments): 51 * 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.0003812/0.3788, allocations: 356.9 kB / 1.167 GB, free: 4.801 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.3789, allocations: 110.6 kB / 1.167 GB, free: 4.691 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003361/0.3823, allocations: 1.193 MB / 1.168 GB, free: 3.492 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.3823, allocations: 4 kB / 1.168 GB, free: 3.488 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3823, allocations: 0 / 1.168 GB, free: 3.488 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3823, allocations: 3.984 kB / 1.168 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00513/0.3875, allocations: 2.304 MB / 1.17 GB, free: 1.098 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.3875, allocations: 7.875 kB / 1.17 GB, free: 1.09 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/0.3878, allocations: 83.88 kB / 1.17 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.3888, allocations: 326 kB / 1.171 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/0.3889, allocations: 19.94 kB / 1.171 GB, free: 0.668 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/0.3903, allocations: 0.9699 MB / 1.172 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3904, allocations: 4 kB / 1.172 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003828/0.3942, allocations: 1.321 MB / 1.173 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003317/0.3945, allocations: 283.4 kB / 1.173 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.3947, allocations: 12 kB / 1.173 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009322/0.3956, allocations: 115.9 kB / 1.173 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.371e-05/0.3957, allocations: 51.83 kB / 1.173 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.675e-05/0.3958, allocations: 19.98 kB / 1.173 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001032/0.3968, allocations: 0.751 MB / 1.174 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.3968, allocations: 0 / 1.174 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001268/0.3981, allocations: 0.5614 MB / 1.175 GB, free: 12.48 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 (34): * Single equations (assignments): 29 * 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.00463/0.4027, allocations: 2.138 MB / 1.177 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003248/0.406, allocations: 1.228 MB / 1.178 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.406, allocations: 0 / 1.178 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009675/0.407, allocations: 398.9 kB / 1.178 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/0.4096, allocations: 0.5106 MB / 1.179 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01815/0.4278, allocations: 9.366 MB / 1.188 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00054/0.4283, allocations: 1.065 MB / 1.189 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008084/0.4291, allocations: 221.3 kB / 1.189 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004911/0.4296, allocations: 411.3 kB / 1.19 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of SimCode: time 6.41e-07/0.4296, allocations: 3.938 kB / 1.19 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9563/1.386, allocations: 32.34 MB / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002494/1.386, allocations: 291.8 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.522/3.908, allocations: 0 / 1.222 GB, free: 12.46 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1)