Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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_LimitedCapacity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",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.0008957/0.0008959, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005025/0.005025, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.255/1.255, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.489/2.489, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003564, allocations: 15.7 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2318, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05066/0.2825, allocations: 59.78 MB / 1.117 GB, free: 8.922 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01395/0.2965, allocations: 11.92 MB / 1.129 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.2979, allocations: 51.62 kB / 1.129 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.2994, allocations: 0.5438 MB / 1.129 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004164/0.3036, allocations: 1.807 MB / 1.131 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.306, allocations: 1.079 MB / 1.132 GB, free: 9.484 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003898/0.3099, allocations: 3.898 MB / 1.136 GB, free: 5.578 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.3112, allocations: 0.898 MB / 1.137 GB, free: 4.648 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002097/0.3133, allocations: 1.124 MB / 1.138 GB, free: 3.52 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/0.3146, allocations: 0.8514 MB / 1.139 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.3148, allocations: 44 kB / 1.139 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/0.3171, allocations: 1.349 MB / 1.14 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002505/0.3174, allocations: 214.9 kB / 1.14 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007522/0.3181, allocations: 0.6311 MB / 1.141 GB, free: 428 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002539/0.3207, allocations: 2.196 MB / 1.143 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3207, allocations: 0 / 1.143 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3207, allocations: 0 / 1.143 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.3207, allocations: 0 / 1.143 GB, free: 14.21 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002357/0.3231, allocations: 1.502 MB / 1.145 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3231, allocations: 11.97 kB / 1.145 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001316/0.3233, allocations: 126.9 kB / 1.145 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/0.3249, allocations: 379 kB / 1.145 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.3267, allocations: 1.128 MB / 1.146 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003608/0.3271, allocations: 129.9 kB / 1.146 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.3272, allocations: 83.98 kB / 1.146 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.329, allocations: 0.97 MB / 1.147 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.329, allocations: 3.938 kB / 1.147 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.431e-05/0.3291, allocations: 32 kB / 1.147 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.3291, allocations: 20 kB / 1.147 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.3311, allocations: 0.8392 MB / 1.148 GB, free: 8.836 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.005317/0.3365, allocations: 4.809 MB / 1.153 GB, free: 3.668 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.338, allocations: 0.6022 MB / 1.153 GB, free: 3.055 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006277/0.3387, allocations: 284.6 kB / 1.154 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/0.3399, allocations: 1.396 MB / 1.155 GB, free: 1.082 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.34, allocations: 42.5 kB / 1.155 GB, free: 1.031 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 1.713e-06/0.34, allocations: 0 / 1.155 GB, free: 1.031 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.007042/0.347, allocations: 1.852 MB / 1.157 GB, free: 15.15 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.3471, allocations: 59.41 kB / 1.157 GB, free: 15.08 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.3484, allocations: 1.055 MB / 1.158 GB, free: 14.01 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/0.3485, allocations: 37.7 kB / 1.158 GB, free: 13.96 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/0.3488, allocations: 0.5312 MB / 1.159 GB, free: 13.43 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.349, allocations: 145.9 kB / 1.159 GB, free: 13.29 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-05/0.349, allocations: 49.69 kB / 1.159 GB, free: 13.23 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.95e-05/0.3491, allocations: 325.9 kB / 1.159 GB, free: 12.91 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007771/0.3499, allocations: 292.9 kB / 1.159 GB, free: 12.62 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009178/0.3508, allocations: 493.2 kB / 1.16 GB, free: 12.06 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.3523, allocations: 0.6702 MB / 1.161 GB, free: 11.33 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3523, allocations: 0 / 1.161 GB, free: 11.33 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002332/0.3546, allocations: 0.9728 MB / 1.161 GB, free: 10.35 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.3547, allocations: 212.4 kB / 1.162 GB, free: 10.08 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3548, allocations: 8 kB / 1.162 GB, free: 10.07 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.356, allocations: 332.5 kB / 1.162 GB, free: 9.746 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.3565, allocations: 115.8 kB / 1.162 GB, free: 9.633 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.3579, allocations: 0.9348 MB / 1.163 GB, free: 8.672 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.359, allocations: 183.2 kB / 1.163 GB, free: 8.492 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.646e-05/0.3591, allocations: 31.98 kB / 1.163 GB, free: 8.461 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.916e-06/0.3591, allocations: 7.938 kB / 1.163 GB, free: 8.453 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002159/0.3613, allocations: 0.84 MB / 1.164 GB, free: 7.609 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3613, allocations: 7.938 kB / 1.164 GB, free: 7.602 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.3624, allocations: 323.4 kB / 1.164 GB, free: 7.285 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/0.3628, allocations: 119.9 kB / 1.164 GB, free: 7.168 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.3642, allocations: 0.9308 MB / 1.165 GB, free: 6.211 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009417/0.3652, allocations: 159.4 kB / 1.166 GB, free: 6.055 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.208e-05/0.3652, allocations: 27.98 kB / 1.166 GB, free: 6.027 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (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.0003538/0.3656, allocations: 348.9 kB / 1.166 GB, free: 5.676 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.3657, allocations: 110.7 kB / 1.166 GB, free: 5.566 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002906/0.3686, allocations: 1.077 MB / 1.167 GB, free: 4.48 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.3687, allocations: 8 kB / 1.167 GB, free: 4.473 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.3687, allocations: 7.922 kB / 1.167 GB, free: 4.465 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.3687, allocations: 0 / 1.167 GB, free: 4.465 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004694/0.3734, allocations: 2.173 MB / 1.169 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/0.3734, allocations: 4.281 kB / 1.169 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.3736, allocations: 71.83 kB / 1.169 GB, free: 2.137 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009992/0.3746, allocations: 310.2 kB / 1.17 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.3747, allocations: 19.98 kB / 1.17 GB, free: 1.812 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/0.3761, allocations: 0.9699 MB / 1.171 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3761, allocations: 3.938 kB / 1.171 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003377/0.3795, allocations: 1.195 MB / 1.172 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003154/0.3798, allocations: 271.5 kB / 1.172 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.3799, allocations: 16 kB / 1.172 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008359/0.3808, allocations: 103.8 kB / 1.172 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/0.3809, allocations: 39.83 kB / 1.172 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.401e-05/0.3809, allocations: 23.98 kB / 1.172 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001001/0.3819, allocations: 0.7469 MB / 1.173 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.803e-06/0.3819, allocations: 0 / 1.173 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001257/0.3832, allocations: 0.573 MB / 1.173 GB, free: 13.78 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.004233/0.3874, allocations: 2.02 MB / 1.175 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002616/0.3901, allocations: 1.051 MB / 1.176 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3901, allocations: 0 / 1.176 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007557/0.3908, allocations: 342.4 kB / 1.177 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/0.3935, allocations: 0.4965 MB / 1.177 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/0.4084, allocations: 8.767 MB / 1.186 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/0.409, allocations: 1.054 MB / 1.187 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0007616/0.4098, allocations: 219.3 kB / 1.187 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004823/0.4103, allocations: 411.3 kB / 1.187 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/0.4103, allocations: 0 / 1.187 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7739/1.184, allocations: 32.27 MB / 1.219 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002398/1.184, allocations: 294.8 kB / 1.219 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.533/3.717, allocations: 0 / 1.219 GB, free: 14.81 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)