Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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_reverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",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.001366/0.001366, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01256/0.01256, allocations: 169.7 kB / 16.27 MB, free: 6.66 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.184/1.184, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.317/2.317, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.000287, allocations: 10.25 kB / 0.9029 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2231, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05129/0.2744, allocations: 59.78 MB / 1.117 GB, free: 8.922 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01345/0.2879, allocations: 11.93 MB / 1.129 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.2893, allocations: 51.62 kB / 1.129 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.2905, allocations: 0.5516 MB / 1.129 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003838/0.2944, allocations: 1.796 MB / 1.131 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.2966, allocations: 1.077 MB / 1.132 GB, free: 9.473 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003747/0.3004, allocations: 3.91 MB / 1.136 GB, free: 5.555 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.3015, allocations: 0.9148 MB / 1.137 GB, free: 4.609 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.3032, allocations: 1.12 MB / 1.138 GB, free: 3.484 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008962/0.3041, allocations: 0.867 MB / 1.139 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.444e-05/0.3042, allocations: 51.88 kB / 1.139 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.3062, allocations: 1.337 MB / 1.14 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.3063, allocations: 218.9 kB / 1.14 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004841/0.3068, allocations: 0.6388 MB / 1.141 GB, free: 368 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.3088, allocations: 2.204 MB / 1.143 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3088, allocations: 0 / 1.143 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3088, allocations: 0 / 1.143 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.3088, allocations: 0 / 1.143 GB, free: 14.15 MB / 0.9044 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.002278/0.3111, allocations: 1.505 MB / 1.145 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3111, allocations: 15.97 kB / 1.145 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001338/0.3113, allocations: 126.9 kB / 1.145 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002334/0.3136, allocations: 0.5105 MB / 1.145 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/0.3153, allocations: 1.144 MB / 1.146 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003413/0.3156, allocations: 133.9 kB / 1.147 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.3157, allocations: 76 kB / 1.147 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.3176, allocations: 1.037 MB / 1.148 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.3177, allocations: 0 / 1.148 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-05/0.3177, allocations: 28 kB / 1.148 GB, free: 9.422 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.3178, allocations: 20 kB / 1.148 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002412/0.3202, allocations: 1.003 MB / 1.149 GB, free: 8.398 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.005107/0.3253, allocations: 4.699 MB / 1.153 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004015/0.3293, allocations: 1.129 MB / 1.154 GB, free: 2.211 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.3304, allocations: 447.8 kB / 1.155 GB, free: 1.773 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008418/0.3312, allocations: 1.033 MB / 1.156 GB, free: 0.5195 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.3313, allocations: 42.98 kB / 1.156 GB, free: 476 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=53): time 1.472e-06/0.3313, allocations: 0 / 1.156 GB, free: 476 kB / 0.9044 GB Notification: Performance of matching and sorting (n=53): time 0.007481/0.3388, allocations: 2.158 MB / 1.158 GB, free: 14.28 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.3388, allocations: 55.84 kB / 1.158 GB, free: 14.21 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.3398, allocations: 0.9396 MB / 1.159 GB, free: 13.26 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.077e-05/0.3399, allocations: 37.7 kB / 1.159 GB, free: 13.21 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000356/0.3403, allocations: 0.508 MB / 1.159 GB, free: 12.7 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.3404, allocations: 185.3 kB / 1.16 GB, free: 12.52 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.782e-05/0.3405, allocations: 49.69 kB / 1.16 GB, free: 12.46 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.3406, allocations: 326 kB / 1.16 GB, free: 12.14 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.3416, allocations: 384.9 kB / 1.16 GB, free: 11.77 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.3428, allocations: 0.542 MB / 1.161 GB, free: 11.16 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001981/0.3447, allocations: 0.8166 MB / 1.162 GB, free: 10.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.3448, allocations: 4 kB / 1.162 GB, free: 10.31 MB / 0.92 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002702/0.3475, allocations: 1.131 MB / 1.163 GB, free: 9.168 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.205e-05/0.3476, allocations: 164.2 kB / 1.163 GB, free: 8.973 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.3476, allocations: 7.938 kB / 1.163 GB, free: 8.965 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.3487, allocations: 336.5 kB / 1.163 GB, free: 8.633 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005914/0.3493, allocations: 143.8 kB / 1.163 GB, free: 8.492 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.3507, allocations: 0.9371 MB / 1.164 GB, free: 7.531 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000979/0.3517, allocations: 175.3 kB / 1.164 GB, free: 7.359 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/0.3518, allocations: 27.98 kB / 1.164 GB, free: 7.332 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.051e-06/0.3518, allocations: 4 kB / 1.164 GB, free: 7.328 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002592/0.3544, allocations: 1.005 MB / 1.165 GB, free: 6.316 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.3544, allocations: 0 / 1.165 GB, free: 6.316 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009999/0.3554, allocations: 320.8 kB / 1.166 GB, free: 6 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005983/0.356, allocations: 139.8 kB / 1.166 GB, free: 5.863 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.3574, allocations: 0.9463 MB / 1.167 GB, free: 4.891 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000913/0.3583, allocations: 159.5 kB / 1.167 GB, free: 4.734 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.311e-05/0.3584, allocations: 35.97 kB / 1.167 GB, free: 4.699 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (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.0003452/0.3587, allocations: 349 kB / 1.167 GB, free: 4.348 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.3588, allocations: 110.6 kB / 1.167 GB, free: 4.238 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/0.3618, allocations: 1.229 MB / 1.169 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.3618, allocations: 8 kB / 1.169 GB, free: 2.988 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3618, allocations: 0 / 1.169 GB, free: 2.988 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.3618, allocations: 3.984 kB / 1.169 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003994/0.3658, allocations: 2.319 MB / 1.171 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.3659, allocations: 3.938 kB / 1.171 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005088/0.3664, allocations: 116 kB / 1.171 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009512/0.3673, allocations: 326.4 kB / 1.171 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.3674, allocations: 15.98 kB / 1.171 GB, free: 140 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/0.3687, allocations: 0.967 MB / 1.172 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3688, allocations: 4.031 kB / 1.172 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003437/0.3722, allocations: 1.409 MB / 1.174 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/0.3725, allocations: 295.4 kB / 1.174 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.3727, allocations: 12 kB / 1.174 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008821/0.3735, allocations: 119.9 kB / 1.174 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.301e-05/0.3736, allocations: 40.39 kB / 1.174 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.878e-05/0.3737, allocations: 27.98 kB / 1.174 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00074/0.3744, allocations: 0.6636 MB / 1.175 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3744, allocations: 4 kB / 1.175 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001112/0.3756, allocations: 0.5691 MB / 1.175 GB, free: 11.94 MB / 0.9356 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.003459/0.379, allocations: 2.077 MB / 1.177 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003477/0.3825, allocations: 1.393 MB / 1.179 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3825, allocations: 0 / 1.179 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.3837, allocations: 488.9 kB / 1.179 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/0.3861, allocations: 0.5026 MB / 1.18 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/0.4018, allocations: 9.168 MB / 1.189 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005429/0.4023, allocations: 1.066 MB / 1.19 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0007983/0.4031, allocations: 224.5 kB / 1.19 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005084/0.4037, allocations: 419.3 kB / 1.19 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.4037, allocations: 4 kB / 1.19 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.752/3.155, allocations: 31.64 MB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003268/3.156, allocations: 286.8 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.531/5.687, allocations: 0 / 1.222 GB, free: 12.64 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)