Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.711/1.711, allocations: 288.2 MB / 303.2 MB, free: 8.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 178.5 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009058/0.0009057, allocations: 90.92 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003967, allocations: 11.62 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2534, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.04587/0.2994, allocations: 51.31 MB / 1.03 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01682/0.3163, allocations: 10.24 MB / 1.04 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002399/0.3187, allocations: 51.62 kB / 1.04 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002643/0.3214, allocations: 0.6257 MB / 1.04 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007896/0.3293, allocations: 1.899 MB / 1.042 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004736/0.3341, allocations: 1.321 MB / 1.043 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004565/0.3386, allocations: 1.851 MB / 1.045 GB, free: 8.203 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.3403, allocations: 0.7979 MB / 1.046 GB, free: 7.383 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002513/0.3428, allocations: 0.9887 MB / 1.047 GB, free: 6.391 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001164/0.344, allocations: 0.6066 MB / 1.048 GB, free: 5.781 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.3441, allocations: 44 kB / 1.048 GB, free: 5.738 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002645/0.3467, allocations: 0.9907 MB / 1.049 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002639/0.347, allocations: 199.1 kB / 1.049 GB, free: 4.551 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0004117/0.3474, allocations: 289 kB / 1.049 GB, free: 4.262 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002358/0.3498, allocations: 1.586 MB / 1.051 GB, free: 2.672 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3498, allocations: 0 / 1.051 GB, free: 2.672 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.856e-06/0.3498, allocations: 0 / 1.051 GB, free: 2.672 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.044e-05/0.3499, allocations: 0 / 1.051 GB, free: 2.672 MB / 0.6667 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.003302/0.3532, allocations: 1.497 MB / 1.052 GB, free: 1.117 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.3532, allocations: 11.97 kB / 1.052 GB, free: 1.105 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001609/0.3534, allocations: 122.7 kB / 1.052 GB, free: 0.9766 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002129/0.3555, allocations: 473.9 kB / 1.053 GB, free: 0.5117 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.3575, allocations: 1.07 MB / 1.054 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000344/0.3579, allocations: 125.9 kB / 1.054 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.358, allocations: 80 kB / 1.054 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.36, allocations: 0.9995 MB / 1.055 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.3601, allocations: 0 / 1.055 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-05/0.3602, allocations: 32 kB / 1.055 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.3602, allocations: 23.94 kB / 1.055 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00241/0.3626, allocations: 0.9134 MB / 1.056 GB, free: 13.18 MB / 0.6823 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.007216/0.3698, allocations: 4.634 MB / 1.06 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003626/0.3735, allocations: 0.949 MB / 1.061 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007237/0.3742, allocations: 0.8951 MB / 1.062 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.3743, allocations: 46.94 kB / 1.062 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 4.499e-06/0.3743, allocations: 0 / 1.062 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.007755/0.3821, allocations: 1.995 MB / 1.064 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.3822, allocations: 55.84 kB / 1.064 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.3839, allocations: 1.071 MB / 1.065 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.384, allocations: 37.7 kB / 1.065 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004876/0.3845, allocations: 0.5236 MB / 1.066 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.3847, allocations: 165.6 kB / 1.066 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.3847, allocations: 8 kB / 1.066 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3849, allocations: 334 kB / 1.066 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009211/0.3858, allocations: 328.9 kB / 1.067 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.3869, allocations: 0.5248 MB / 1.067 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009795/0.3879, allocations: 364.6 kB / 1.067 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.758e-06/0.3879, allocations: 0 / 1.067 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.5611/0.949, allocations: 1.22 MB / 1.069 GB, free: 90.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003718/0.9494, allocations: 1.491 MB / 1.07 GB, free: 88.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.9495, allocations: 5.141 kB / 1.07 GB, free: 88.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001626/0.9511, allocations: 339.2 kB / 1.07 GB, free: 88.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007212/0.9518, allocations: 134.6 kB / 1.07 GB, free: 88.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.9535, allocations: 0.9395 MB / 1.071 GB, free: 88.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.9551, allocations: 194.6 kB / 1.072 GB, free: 88.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.871e-05/0.9552, allocations: 30.78 kB / 1.072 GB, free: 88.19 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.9553, allocations: 4.75 kB / 1.072 GB, free: 88.19 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003737/0.959, allocations: 1.089 MB / 1.073 GB, free: 88.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.959, allocations: 4.844 kB / 1.073 GB, free: 88.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.9602, allocations: 321.2 kB / 1.073 GB, free: 88.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006053/0.9608, allocations: 141.8 kB / 1.073 GB, free: 88.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.9624, allocations: 0.9382 MB / 1.074 GB, free: 87.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.9639, allocations: 171.3 kB / 1.074 GB, free: 87.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-05/0.964, allocations: 29.97 kB / 1.074 GB, free: 87.39 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006635/0.9647, allocations: 355.9 kB / 1.075 GB, free: 87.11 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/0.9649, allocations: 113.1 kB / 1.075 GB, free: 87.11 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002929/0.9679, allocations: 1.035 MB / 1.076 GB, free: 86.77 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/0.9679, allocations: 10.75 kB / 1.076 GB, free: 86.77 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.9679, allocations: 4.516 kB / 1.076 GB, free: 86.76 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.9679, allocations: 3.234 kB / 1.076 GB, free: 86.76 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007489/0.9754, allocations: 2.478 MB / 1.078 GB, free: 85.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/0.9755, allocations: 2.031 kB / 1.078 GB, free: 85.74 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004162/0.9759, allocations: 77.94 kB / 1.078 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001258/0.9772, allocations: 335.8 kB / 1.079 GB, free: 85.65 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.388e-05/0.9773, allocations: 17.39 kB / 1.079 GB, free: 85.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/0.9791, allocations: 0.964 MB / 1.079 GB, free: 84.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/0.9791, allocations: 3.594 kB / 1.079 GB, free: 84.97 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005083/0.9842, allocations: 1.413 MB / 1.081 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009138/0.9851, allocations: 291.3 kB / 1.081 GB, free: 84.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.9853, allocations: 13.69 kB / 1.081 GB, free: 84.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009838/0.9863, allocations: 110.5 kB / 1.081 GB, free: 84.04 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.9864, allocations: 38.33 kB / 1.081 GB, free: 84.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.072e-05/0.9865, allocations: 28.95 kB / 1.081 GB, free: 84.02 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001525/0.988, allocations: 0.7469 MB / 1.082 GB, free: 83.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.988, allocations: 0.7812 kB / 1.082 GB, free: 83.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001887/0.9899, allocations: 0.5689 MB / 1.083 GB, free: 83.61 MB / 0.6823 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 (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.005224/0.9952, allocations: 2.828 MB / 1.085 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003711/0.9989, allocations: 1.204 MB / 1.087 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.999, allocations: 1 kB / 1.087 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/1, allocations: 388.5 kB / 1.087 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003077/1.003, allocations: 0.5081 MB / 1.087 GB, free: 81.18 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007905/1.011, allocations: 5.81 MB / 1.093 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008027/1.012, allocations: 1.085 MB / 1.094 GB, free: 76.01 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00142/1.013, allocations: 239 kB / 1.094 GB, free: 75.95 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005715/1.014, allocations: 411.6 kB / 1.095 GB, free: 75.64 MB / 0.6823 GB Notification: Performance of SimCode: time 1.693e-06/1.014, allocations: 0 / 1.095 GB, free: 75.64 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06668/1.081, allocations: 33.59 MB / 1.128 GB, free: 57.58 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/1.081, allocations: 248.3 kB / 1.128 GB, free: 57.25 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.011/4.092, allocations: 0 / 1.128 GB, free: 57.25 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)