Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Validation.Carnot_TEva_HighTemperature,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,fileNamePrefix="Buildings_10_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.001992/0.001992, 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.002527/0.002526, allocations: 194.6 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.404/1.404, 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.457/2.457, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.89 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5272/0.5285, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.05597/0.5845, allocations: 61.27 MB / 1.077 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01527/0.5998, allocations: 12.01 MB / 1.089 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002009/0.6019, allocations: 59.62 kB / 1.089 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002006/0.6039, allocations: 0.683 MB / 1.09 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005684/0.6096, allocations: 1.974 MB / 1.092 GB, free: 6.254 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003112/0.6128, allocations: 1.196 MB / 1.093 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003853/0.6166, allocations: 3.088 MB / 1.096 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.6182, allocations: 1.1 MB / 1.097 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002679/0.6209, allocations: 1.344 MB / 1.098 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.6225, allocations: 0.8983 MB / 1.099 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002742/0.6227, allocations: 116 kB / 1.099 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002762/0.6255, allocations: 1.447 MB / 1.101 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003348/0.6259, allocations: 294.9 kB / 1.101 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008541/0.6267, allocations: 0.7036 MB / 1.102 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003216/0.6299, allocations: 2.294 MB / 1.104 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.63, allocations: 0 / 1.104 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.63, allocations: 0 / 1.104 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.812e-05/0.63, allocations: 0 / 1.104 GB, free: 9.719 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00316/0.6332, allocations: 1.746 MB / 1.105 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.6332, allocations: 8.031 kB / 1.106 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001363/0.6334, allocations: 119 kB / 1.106 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002253/0.6356, allocations: 414.8 kB / 1.106 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.6377, allocations: 1.113 MB / 1.107 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003727/0.6381, allocations: 121.9 kB / 1.107 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.6382, allocations: 80 kB / 1.107 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.6402, allocations: 1.025 MB / 1.108 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.6403, allocations: 3.938 kB / 1.108 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.077e-05/0.6403, allocations: 32 kB / 1.108 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.6404, allocations: 20 kB / 1.108 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002447/0.6428, allocations: 0.8899 MB / 1.109 GB, free: 3.98 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.00649/0.6493, allocations: 5.273 MB / 1.114 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003527/0.6529, allocations: 0.8114 MB / 1.115 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007967/0.6537, allocations: 316.5 kB / 1.115 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006073/0.6543, allocations: 0.9024 MB / 1.116 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.6543, allocations: 38.56 kB / 1.116 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=44): time 2.064e-06/0.6544, allocations: 3.938 kB / 1.116 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44): time 0.006624/0.661, allocations: 1.653 MB / 1.118 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.661, allocations: 63.41 kB / 1.118 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.6627, allocations: 1.084 MB / 1.119 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.344e-05/0.6628, allocations: 33.7 kB / 1.119 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004312/0.6632, allocations: 0.5312 MB / 1.12 GB, free: 8.613 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.6633, allocations: 157.8 kB / 1.12 GB, free: 8.457 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.6636, allocations: 138.2 kB / 1.12 GB, free: 8.316 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.6637, allocations: 326 kB / 1.12 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009859/0.6647, allocations: 323.2 kB / 1.121 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.6658, allocations: 0.5524 MB / 1.121 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/0.6676, allocations: 0.7579 MB / 1.122 GB, free: 6.195 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.6677, allocations: 4 kB / 1.122 GB, free: 6.191 MB / 0.8731 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0029/0.6706, allocations: 1.051 MB / 1.123 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.6706, allocations: 8 kB / 1.123 GB, free: 5.121 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.6706, allocations: 7.938 kB / 1.123 GB, free: 5.113 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.6719, allocations: 321.9 kB / 1.123 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005763/0.6725, allocations: 139.8 kB / 1.123 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.674, allocations: 0.9191 MB / 1.124 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.6752, allocations: 160.2 kB / 1.124 GB, free: 3.559 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.97e-05/0.6753, allocations: 27.98 kB / 1.124 GB, free: 3.531 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001242/0.6765, allocations: 0.5324 MB / 1.125 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001074/0.6776, allocations: 0.5457 MB / 1.125 GB, free: 2.352 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001771/0.6794, allocations: 0.7335 MB / 1.126 GB, free: 1.547 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.496e-06/0.6794, allocations: 0 / 1.126 GB, free: 1.547 MB / 0.8731 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003068/0.6825, allocations: 1.048 MB / 1.127 GB, free: 500 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.6825, allocations: 8 kB / 1.127 GB, free: 492 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.6825, allocations: 7.984 kB / 1.127 GB, free: 484 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.6837, allocations: 316.6 kB / 1.128 GB, free: 164 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005626/0.6843, allocations: 131.8 kB / 1.128 GB, free: 32 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.6857, allocations: 0.9123 MB / 1.129 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.6869, allocations: 139.5 kB / 1.129 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.241e-05/0.687, allocations: 35.92 kB / 1.129 GB, free: 14.92 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 (58): * Single equations (assignments): 57 * 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.0001985/0.6872, allocations: 224.1 kB / 1.129 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/0.6874, allocations: 110.6 kB / 1.129 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003353/0.6908, allocations: 1.112 MB / 1.13 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.6908, allocations: 4 kB / 1.13 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.6908, allocations: 4 kB / 1.13 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/0.6908, allocations: 3.984 kB / 1.13 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005316/0.6962, allocations: 2.206 MB / 1.132 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.6962, allocations: 4 kB / 1.132 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/0.6965, allocations: 67.88 kB / 1.132 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001108/0.6976, allocations: 314 kB / 1.133 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.6977, allocations: 16 kB / 1.133 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.6997, allocations: 0.9425 MB / 1.134 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.6997, allocations: 3.938 kB / 1.134 GB, free: 9.797 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004009/0.7037, allocations: 1.209 MB / 1.135 GB, free: 8.539 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004716/0.7042, allocations: 267.5 kB / 1.135 GB, free: 8.258 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/0.7044, allocations: 12 kB / 1.135 GB, free: 8.246 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008846/0.7053, allocations: 79.91 kB / 1.135 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.758e-05/0.7054, allocations: 43.83 kB / 1.135 GB, free: 8.125 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.924e-05/0.7054, allocations: 19.98 kB / 1.135 GB, free: 8.105 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001157/0.7066, allocations: 0.7594 MB / 1.136 GB, free: 7.34 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7066, allocations: 0 / 1.136 GB, free: 7.34 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001493/0.7081, allocations: 0.577 MB / 1.136 GB, free: 6.762 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 (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.004501/0.7126, allocations: 2.025 MB / 1.138 GB, free: 4.688 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003505/0.7161, allocations: 1.207 MB / 1.14 GB, free: 3.484 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7162, allocations: 0 / 1.14 GB, free: 3.484 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009401/0.7171, allocations: 374.6 kB / 1.14 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/0.7194, allocations: 0.5103 MB / 1.14 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01666/0.736, allocations: 9.033 MB / 1.149 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006608/0.7367, allocations: 1.069 MB / 1.15 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001007/0.7377, allocations: 232.1 kB / 1.151 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005751/0.7383, allocations: 411.3 kB / 1.151 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of SimCode: time 8.51e-07/0.7383, allocations: 0 / 1.151 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6826/1.421, allocations: 33.7 MB / 1.184 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/15.26, allocations: 8.969 kB / 1.184 GB, free: 6.156 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1)