Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="Buildings_latest_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.001827/0.001827, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001831/0.001831, allocations: 193.2 kB / 16.14 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.14/1.14, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.229/2.229, allocations: 461.9 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 70.36 kB / 0.8985 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2241, allocations: 157.4 MB / 1.052 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.04612/0.2702, allocations: 60.88 MB / 1.112 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01229/0.2825, allocations: 12.06 MB / 1.123 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.2838, allocations: 55.62 kB / 1.123 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.2852, allocations: 0.5515 MB / 1.124 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003313/0.2885, allocations: 1.807 MB / 1.126 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001969/0.2905, allocations: 1.069 MB / 1.127 GB, free: 11.53 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002754/0.2932, allocations: 3.906 MB / 1.131 GB, free: 7.613 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008692/0.2941, allocations: 0.9235 MB / 1.132 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.2955, allocations: 1.163 MB / 1.133 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007762/0.2963, allocations: 0.8866 MB / 1.134 GB, free: 4.602 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.2964, allocations: 60 kB / 1.134 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.2982, allocations: 1.376 MB / 1.135 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.2984, allocations: 238.8 kB / 1.135 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004724/0.2989, allocations: 0.6333 MB / 1.136 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001856/0.3007, allocations: 2.267 MB / 1.138 GB, free: 20 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.3007, allocations: 0 / 1.138 GB, free: 20 kB / 0.8887 GB Notification: Performance of FrontEnd: time 5.71e-07/0.3007, allocations: 0 / 1.138 GB, free: 20 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.3008, allocations: 0 / 1.138 GB, free: 20 kB / 0.8887 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.002276/0.303, allocations: 1.738 MB / 1.14 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.3031, allocations: 15.97 kB / 1.14 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001161/0.3032, allocations: 122.9 kB / 1.14 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/0.3046, allocations: 339 kB / 1.14 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/0.3062, allocations: 1.128 MB / 1.141 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003017/0.3065, allocations: 113.9 kB / 1.141 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.4e-05/0.3066, allocations: 84 kB / 1.141 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.3081, allocations: 0.9543 MB / 1.142 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3082, allocations: 0 / 1.142 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.441e-05/0.3082, allocations: 32 kB / 1.142 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.3082, allocations: 20 kB / 1.142 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.31, allocations: 0.8041 MB / 1.143 GB, free: 10.51 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.004652/0.3146, allocations: 4.764 MB / 1.148 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.3159, allocations: 0.5776 MB / 1.148 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005147/0.3165, allocations: 268.7 kB / 1.149 GB, free: 4.531 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/0.3176, allocations: 1.373 MB / 1.15 GB, free: 2.863 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.3176, allocations: 38.5 kB / 1.15 GB, free: 2.816 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 1.343e-06/0.3176, allocations: 3.938 kB / 1.15 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.004904/0.3225, allocations: 1.552 MB / 1.152 GB, free: 1.23 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.3225, allocations: 59.41 kB / 1.152 GB, free: 1.16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.3237, allocations: 1.055 MB / 1.153 GB, free: 92 kB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.3238, allocations: 37.7 kB / 1.153 GB, free: 48 kB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003473/0.3241, allocations: 0.5157 MB / 1.153 GB, free: 15.53 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.36e-05/0.3242, allocations: 153.8 kB / 1.153 GB, free: 15.38 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.3244, allocations: 122.1 kB / 1.153 GB, free: 15.25 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.392e-05/0.3245, allocations: 326 kB / 1.154 GB, free: 14.93 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006566/0.3251, allocations: 274.9 kB / 1.154 GB, free: 14.65 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007626/0.3259, allocations: 471.7 kB / 1.154 GB, free: 14.11 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.3271, allocations: 0.6264 MB / 1.155 GB, free: 13.43 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3271, allocations: 0 / 1.155 GB, free: 13.43 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001931/0.329, allocations: 0.9335 MB / 1.156 GB, free: 12.49 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3291, allocations: 9.562 kB / 1.156 GB, free: 12.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3291, allocations: 7.938 kB / 1.156 GB, free: 12.47 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.3301, allocations: 317.1 kB / 1.156 GB, free: 12.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/0.3305, allocations: 107.9 kB / 1.156 GB, free: 12.05 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.3317, allocations: 0.913 MB / 1.157 GB, free: 11.12 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000911/0.3326, allocations: 163.3 kB / 1.157 GB, free: 10.96 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.627e-05/0.3327, allocations: 35.98 kB / 1.158 GB, free: 10.92 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000831/0.3335, allocations: 489 kB / 1.158 GB, free: 10.44 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007386/0.3343, allocations: 469.6 kB / 1.158 GB, free: 9.906 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001131/0.3354, allocations: 0.6115 MB / 1.159 GB, free: 9.242 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/0.3354, allocations: 0 / 1.159 GB, free: 9.242 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001925/0.3374, allocations: 0.9333 MB / 1.16 GB, free: 8.297 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.273e-06/0.3374, allocations: 4.406 kB / 1.16 GB, free: 8.293 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3374, allocations: 8 kB / 1.16 GB, free: 8.285 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009089/0.3383, allocations: 308.7 kB / 1.16 GB, free: 7.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/0.3387, allocations: 107.9 kB / 1.16 GB, free: 7.875 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.3399, allocations: 0.9094 MB / 1.161 GB, free: 6.941 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009165/0.3408, allocations: 147.6 kB / 1.161 GB, free: 6.797 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.813e-05/0.3408, allocations: 27.98 kB / 1.161 GB, free: 6.77 MB / 0.92 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 (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.0001354/0.341, allocations: 224 kB / 1.162 GB, free: 6.543 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.3411, allocations: 114.6 kB / 1.162 GB, free: 6.43 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.3429, allocations: 0.9047 MB / 1.163 GB, free: 5.512 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.343, allocations: 7.984 kB / 1.163 GB, free: 5.504 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.343, allocations: 4 kB / 1.163 GB, free: 5.5 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.343, allocations: 3.938 kB / 1.163 GB, free: 5.496 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00458/0.3476, allocations: 2.225 MB / 1.165 GB, free: 3.184 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.3476, allocations: 4 kB / 1.165 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.3478, allocations: 51.91 kB / 1.165 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000859/0.3486, allocations: 316.8 kB / 1.165 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.3487, allocations: 16 kB / 1.165 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.3499, allocations: 0.9439 MB / 1.166 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3499, allocations: 3.938 kB / 1.166 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003398/0.3533, allocations: 1.255 MB / 1.167 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.3536, allocations: 263.5 kB / 1.168 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.3537, allocations: 8 kB / 1.168 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006903/0.3544, allocations: 87.84 kB / 1.168 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/0.3545, allocations: 35.95 kB / 1.168 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.714e-05/0.3545, allocations: 23.98 kB / 1.168 GB, free: 100 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008854/0.3554, allocations: 0.7391 MB / 1.168 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3554, allocations: 4 kB / 1.168 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001095/0.3565, allocations: 0.5731 MB / 1.169 GB, free: 14.77 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.003628/0.3602, allocations: 1.979 MB / 1.171 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002172/0.3623, allocations: 1.001 MB / 1.172 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3624, allocations: 16 kB / 1.172 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006411/0.363, allocations: 326.3 kB / 1.172 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/0.3649, allocations: 0.4953 MB / 1.173 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/0.3792, allocations: 8.614 MB / 1.181 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/0.3797, allocations: 1.065 MB / 1.182 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0006671/0.3804, allocations: 216.7 kB / 1.182 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004108/0.3808, allocations: 403.3 kB / 1.183 GB, free: 172 kB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3808, allocations: 0 / 1.183 GB, free: 172 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.367/5.748, allocations: 32.31 MB / 1.214 GB, free: 324 kB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002675/5.748, allocations: 279.8 kB / 1.215 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/8.217, allocations: 2.391 kB / 1.215 GB, free: 15.94 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)