Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_2ndLaw,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",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.0009169/0.0009167, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001013/0.001013, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.825/1.825, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005804/0.0005804, allocations: 15.22 kB / 0.6738 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2746, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06998/0.3447, allocations: 65.12 MB / 0.851 GB, free: 10.55 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02227/0.367, allocations: 17.62 MB / 0.8682 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003122/0.3702, allocations: 59.62 kB / 0.8683 GB, free: 8.836 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001976/0.3722, allocations: 0.5198 MB / 0.8688 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007642/0.3798, allocations: 2.093 MB / 0.8708 GB, free: 6.211 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004243/0.3841, allocations: 1.098 MB / 0.8719 GB, free: 5.121 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006796/0.3909, allocations: 4.369 MB / 0.8761 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002187/0.3931, allocations: 1.014 MB / 0.8771 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003281/0.3964, allocations: 1.333 MB / 0.8784 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002018/0.3985, allocations: 1.054 MB / 0.8795 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001928/0.3987, allocations: 60 kB / 0.8795 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0026/0.4013, allocations: 0.9082 MB / 0.8804 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002927/0.4016, allocations: 258.8 kB / 0.8807 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.000535/0.4021, allocations: 364.9 kB / 0.881 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002498/0.4046, allocations: 2.303 MB / 0.8833 GB, free: 9.398 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4047, allocations: 0 / 0.8833 GB, free: 9.398 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.715e-06/0.4047, allocations: 0 / 0.8833 GB, free: 9.398 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.438e-05/0.4047, allocations: 0 / 0.8833 GB, free: 9.398 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003144/0.4078, allocations: 1.735 MB / 0.885 GB, free: 7.602 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.4079, allocations: 15.97 kB / 0.885 GB, free: 7.586 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001733/0.4081, allocations: 156.3 kB / 0.8851 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.41, allocations: 0.4975 MB / 0.8856 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002538/0.4126, allocations: 1.47 MB / 0.887 GB, free: 5.398 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003318/0.4129, allocations: 150 kB / 0.8872 GB, free: 5.25 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.4131, allocations: 104 kB / 0.8873 GB, free: 5.148 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.4156, allocations: 1.311 MB / 0.8886 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.4156, allocations: 0 / 0.8886 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.4157, allocations: 44 kB / 0.8886 GB, free: 3.707 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.4157, allocations: 24 kB / 0.8886 GB, free: 3.684 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/0.4183, allocations: 1.167 MB / 0.8898 GB, free: 2.52 MB / 0.7012 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.00854/0.4269, allocations: 6.912 MB / 0.8965 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/0.4299, allocations: 0.9303 MB / 0.8974 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006035/0.4305, allocations: 318 kB / 0.8977 GB, free: 9.906 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/0.4318, allocations: 1.718 MB / 0.8994 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.4318, allocations: 42.95 kB / 0.8994 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=52): time 2.395e-06/0.4318, allocations: 0 / 0.8994 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=52): time 0.004795/0.4366, allocations: 1.491 MB / 0.9009 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.4367, allocations: 63.84 kB / 0.901 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002458/0.4392, allocations: 1.521 MB / 0.9024 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.706e-05/0.4393, allocations: 37.7 kB / 0.9025 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000545/0.4398, allocations: 0.6615 MB / 0.9031 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.44, allocations: 185.3 kB / 0.9033 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.4401, allocations: 12 kB / 0.9033 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4402, allocations: 337.9 kB / 0.9036 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009508/0.4411, allocations: 397.8 kB / 0.904 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.4423, allocations: 0.6742 MB / 0.9047 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009856/0.4433, allocations: 465.8 kB / 0.9051 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.4434, allocations: 4 kB / 0.9051 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002799/0.4462, allocations: 1.243 MB / 0.9063 GB, free: 500 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.4462, allocations: 8 kB / 0.9063 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.4462, allocations: 8 kB / 0.9064 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008042/0.447, allocations: 233.3 kB / 0.9066 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007419/0.4478, allocations: 211.6 kB / 0.9068 GB, free: 36 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008036/0.4486, allocations: 0.724 MB / 0.9075 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/0.4502, allocations: 262.7 kB / 0.9077 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.511e-05/0.4503, allocations: 43.98 kB / 0.9078 GB, free: 14.98 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 81 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0006304/0.4509, allocations: 361.5 kB / 0.9081 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.4511, allocations: 146.2 kB / 0.9083 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/0.4537, allocations: 1.227 MB / 0.9095 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.348e-05/0.4537, allocations: 11.98 kB / 0.9095 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.4537, allocations: 0 / 0.9095 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.4537, allocations: 0 / 0.9095 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005223/0.4589, allocations: 2.658 MB / 0.9121 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.459, allocations: 0 / 0.9121 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003725/0.4593, allocations: 95.86 kB / 0.9122 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007167/0.4601, allocations: 224.8 kB / 0.9124 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.465e-05/0.4601, allocations: 19.98 kB / 0.9124 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.4613, allocations: 0.7944 MB / 0.9132 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.4613, allocations: 7.969 kB / 0.9132 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003162/0.4645, allocations: 1.32 MB / 0.9145 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006664/0.4652, allocations: 378.9 kB / 0.9148 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/0.4654, allocations: 16.19 kB / 0.9148 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008699/0.4662, allocations: 107.8 kB / 0.9149 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.483e-05/0.4663, allocations: 48.39 kB / 0.915 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.556e-05/0.4664, allocations: 35.98 kB / 0.915 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001889/0.4683, allocations: 1.07 MB / 0.9161 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4683, allocations: 0 / 0.9161 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001352/0.4697, allocations: 435.4 kB / 0.9165 GB, free: 5.871 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (56): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.004287/0.474, allocations: 2.221 MB / 0.9187 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002194/0.4762, allocations: 0.8874 MB / 0.9195 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.4762, allocations: 4 kB / 0.9195 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.4774, allocations: 491.6 kB / 0.92 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003268/0.4807, allocations: 0.7302 MB / 0.9207 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5097/0.9903, allocations: 9.055 MB / 0.9296 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006293/0.991, allocations: 1.173 MB / 0.9307 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001453/0.9925, allocations: 266.2 kB / 0.9309 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006979/0.9932, allocations: 0.5582 MB / 0.9315 GB, free: 130.3 MB / 0.7325 GB Notification: Performance of SimCode: time 1.172e-06/0.9932, allocations: 0 / 0.9315 GB, free: 130.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08245/1.076, allocations: 43.6 MB / 0.9741 GB, free: 107.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002671/1.076, allocations: 256.4 kB / 0.9743 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.931/4.007, allocations: 0 / 0.9743 GB, free: 106.9 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) Environment - environmentSimulation: