Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_etaPL,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",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.006185/0.006185, allocations: 107 kB / 15.74 MB, free: 6.043 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.001121/0.001121, allocations: 199 kB / 16.68 MB, free: 5.957 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.194/2.194, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.91 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6932/0.6944, allocations: 140.4 MB / 1.087 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.05264/0.7471, allocations: 61.22 MB / 1.147 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0146/0.7617, allocations: 11.99 MB / 1.159 GB, free: 0.6875 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.7631, allocations: 56.66 kB / 1.159 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.7645, allocations: 0.6843 MB / 1.16 GB, free: 228 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003813/0.7684, allocations: 1.963 MB / 1.162 GB, free: 15.05 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002468/0.7709, allocations: 1.199 MB / 1.163 GB, free: 14.39 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002836/0.7737, allocations: 3.092 MB / 1.166 GB, free: 12.86 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.7749, allocations: 1.089 MB / 1.167 GB, free: 12.33 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002157/0.777, allocations: 1.337 MB / 1.168 GB, free: 11.66 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009562/0.778, allocations: 0.8949 MB / 1.169 GB, free: 11.25 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.7782, allocations: 115.8 kB / 1.169 GB, free: 11.25 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002316/0.7805, allocations: 1.477 MB / 1.171 GB, free: 10.75 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002523/0.7807, allocations: 301.9 kB / 1.171 GB, free: 10.55 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005539/0.7813, allocations: 0.6936 MB / 1.172 GB, free: 10.12 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.7838, allocations: 2.316 MB / 1.174 GB, free: 8.949 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.7838, allocations: 5.062 kB / 1.174 GB, free: 8.945 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7838, allocations: 0 / 1.174 GB, free: 8.945 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.7838, allocations: 0 / 1.174 GB, free: 8.945 MB / 0.92 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.002517/0.7863, allocations: 1.732 MB / 1.176 GB, free: 7.602 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.7864, allocations: 9.781 kB / 1.176 GB, free: 7.602 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001271/0.7865, allocations: 124.5 kB / 1.176 GB, free: 7.496 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.7881, allocations: 348.6 kB / 1.176 GB, free: 7.336 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.7899, allocations: 1.161 MB / 1.177 GB, free: 6.41 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.204e-05/0.79, allocations: 59.28 kB / 1.177 GB, free: 6.383 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.7901, allocations: 87.34 kB / 1.177 GB, free: 6.352 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.7917, allocations: 0.9665 MB / 1.178 GB, free: 5.707 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.7917, allocations: 9.031 kB / 1.178 GB, free: 5.699 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.305e-05/0.7918, allocations: 36.34 kB / 1.178 GB, free: 5.672 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.7918, allocations: 19.47 kB / 1.178 GB, free: 5.672 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.7938, allocations: 0.8011 MB / 1.179 GB, free: 5.273 MB / 0.92 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.00577/0.7995, allocations: 5.145 MB / 1.184 GB, free: 0.582 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.801, allocations: 0.5634 MB / 1.185 GB, free: 308 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006241/0.8016, allocations: 276.2 kB / 1.185 GB, free: 168 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/0.803, allocations: 1.371 MB / 1.186 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.803, allocations: 36.81 kB / 1.186 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=44): time 1.994e-06/0.803, allocations: 0 / 1.186 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44): time 0.006421/0.8095, allocations: 1.489 MB / 1.188 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/0.8095, allocations: 55.88 kB / 1.188 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002221/0.8118, allocations: 1.078 MB / 1.189 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/0.8119, allocations: 39.05 kB / 1.189 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.00039/0.8122, allocations: 0.5244 MB / 1.189 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.8124, allocations: 154.1 kB / 1.19 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.8126, allocations: 138 kB / 1.19 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.638e-05/0.8127, allocations: 327.5 kB / 1.19 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007513/0.8134, allocations: 280.6 kB / 1.19 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.8145, allocations: 0.4953 MB / 1.191 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.8161, allocations: 0.6505 MB / 1.191 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.8161, allocations: 6.875 kB / 1.191 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002441/0.8186, allocations: 0.9612 MB / 1.192 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.8186, allocations: 6.5 kB / 1.192 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.8186, allocations: 4.219 kB / 1.192 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.8199, allocations: 302 kB / 1.193 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/0.8204, allocations: 124.4 kB / 1.193 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.8217, allocations: 0.9005 MB / 1.194 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.8229, allocations: 142.4 kB / 1.194 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.85e-05/0.823, allocations: 31.86 kB / 1.194 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001061/0.8241, allocations: 491.7 kB / 1.194 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008803/0.825, allocations: 499.6 kB / 1.195 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001343/0.8263, allocations: 0.6407 MB / 1.195 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.996e-06/0.8263, allocations: 1.531 kB / 1.195 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002334/0.8287, allocations: 0.9432 MB / 1.196 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.8287, allocations: 10.62 kB / 1.196 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.8287, allocations: 5.5 kB / 1.196 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.8297, allocations: 304.1 kB / 1.197 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004575/0.8302, allocations: 120.5 kB / 1.197 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.8315, allocations: 0.8917 MB / 1.198 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.8327, allocations: 127.9 kB / 1.198 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.117e-05/0.8328, allocations: 31.14 kB / 1.198 GB, free: 7.023 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (57): * Single equations (assignments): 56 * 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.0002127/0.833, allocations: 220.2 kB / 1.198 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.8332, allocations: 112.9 kB / 1.198 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.8353, allocations: 0.9075 MB / 1.199 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.556e-05/0.8354, allocations: 5.062 kB / 1.199 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.8354, allocations: 1.094 kB / 1.199 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.8354, allocations: 3.984 kB / 1.199 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005642/0.841, allocations: 2.198 MB / 1.201 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.841, allocations: 2.562 kB / 1.201 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.8413, allocations: 56.97 kB / 1.201 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/0.8423, allocations: 306.6 kB / 1.201 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/0.8423, allocations: 14.45 kB / 1.201 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/0.8438, allocations: 0.933 MB / 1.202 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.8438, allocations: 3.406 kB / 1.202 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004242/0.8481, allocations: 1.225 MB / 1.204 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005998/0.8487, allocations: 259.8 kB / 1.204 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.8488, allocations: 16.34 kB / 1.204 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007506/0.8496, allocations: 62.45 kB / 1.204 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.202e-05/0.8497, allocations: 36.7 kB / 1.204 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.103e-05/0.8497, allocations: 26.77 kB / 1.204 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001183/0.8509, allocations: 0.7527 MB / 1.205 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8509, allocations: 1.219 kB / 1.205 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001834/0.8528, allocations: 0.5869 MB / 1.205 GB, free: 2.25 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.004439/0.8572, allocations: 1.968 MB / 1.207 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002735/0.86, allocations: 1.043 MB / 1.208 GB, free: 440 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.86, allocations: 1.312 kB / 1.208 GB, free: 440 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007492/0.8607, allocations: 317.4 kB / 1.208 GB, free: 300 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/0.863, allocations: 0.5114 MB / 1.209 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/0.876, allocations: 7.91 MB / 1.217 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005755/0.8766, allocations: 1.061 MB / 1.218 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008379/0.8774, allocations: 224.8 kB / 1.218 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005185/0.8779, allocations: 419.3 kB / 1.218 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of SimCode: time 7.42e-07/0.8779, allocations: 0 / 1.218 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4965/1.374, allocations: 33.92 MB / 1.251 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/14.38, allocations: 8 kB / 1.251 GB, free: 4.57 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)