Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_reverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_11_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.001501/0.001501, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.507/2.507, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 65.45 kB / 0.9086 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2415, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05905/0.3006, allocations: 61.23 MB / 1.124 GB, free: 0.793 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01543/0.3161, allocations: 12.01 MB / 1.136 GB, free: 4.75 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.3175, allocations: 63.62 kB / 1.136 GB, free: 4.688 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.3192, allocations: 0.6791 MB / 1.136 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004345/0.3236, allocations: 1.971 MB / 1.138 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002581/0.3262, allocations: 1.183 MB / 1.139 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003618/0.3298, allocations: 3.088 MB / 1.142 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001482/0.3313, allocations: 1.12 MB / 1.144 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/0.3338, allocations: 1.321 MB / 1.145 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.3352, allocations: 0.9178 MB / 1.146 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002512/0.3355, allocations: 123.9 kB / 1.146 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002495/0.338, allocations: 1.443 MB / 1.147 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002804/0.3383, allocations: 302.8 kB / 1.148 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006791/0.3389, allocations: 0.7075 MB / 1.148 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002523/0.3415, allocations: 2.294 MB / 1.15 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.3415, allocations: 0 / 1.15 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.695e-06/0.3415, allocations: 7.938 kB / 1.15 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.3415, allocations: 0 / 1.15 GB, free: 5.465 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.002664/0.3442, allocations: 1.742 MB / 1.152 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.3442, allocations: 8.031 kB / 1.152 GB, free: 3.656 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001423/0.3444, allocations: 126.9 kB / 1.152 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002367/0.3467, allocations: 458.8 kB / 1.153 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.3485, allocations: 1.12 MB / 1.154 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003357/0.3489, allocations: 117.9 kB / 1.154 GB, free: 1.781 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.349, allocations: 80 kB / 1.154 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.351, allocations: 1.01 MB / 1.155 GB, free: 0.6602 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.351, allocations: 0 / 1.155 GB, free: 0.6602 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-05/0.3511, allocations: 32 kB / 1.155 GB, free: 0.6289 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.3511, allocations: 16 kB / 1.155 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/0.3535, allocations: 0.9446 MB / 1.156 GB, free: 15.67 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.005533/0.3591, allocations: 4.691 MB / 1.161 GB, free: 10.63 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003898/0.363, allocations: 1.012 MB / 1.162 GB, free: 9.609 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.364, allocations: 407.5 kB / 1.162 GB, free: 9.207 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009375/0.365, allocations: 1.025 MB / 1.163 GB, free: 7.961 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.365, allocations: 35 kB / 1.163 GB, free: 7.918 MB / 0.92 GB Notification: Performance of pre-optimization done (n=53): time 1.553e-06/0.365, allocations: 0 / 1.163 GB, free: 7.918 MB / 0.92 GB Notification: Performance of matching and sorting (n=53): time 0.007255/0.3723, allocations: 1.955 MB / 1.165 GB, free: 5.934 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.3723, allocations: 55.84 kB / 1.165 GB, free: 5.867 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.3734, allocations: 0.9475 MB / 1.166 GB, free: 4.902 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.468e-05/0.3735, allocations: 37.7 kB / 1.166 GB, free: 4.859 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003983/0.3739, allocations: 0.5118 MB / 1.166 GB, free: 4.344 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.3741, allocations: 181.4 kB / 1.167 GB, free: 4.164 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.3743, allocations: 130.1 kB / 1.167 GB, free: 4.031 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3744, allocations: 326 kB / 1.167 GB, free: 3.707 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009999/0.3754, allocations: 358.8 kB / 1.167 GB, free: 3.355 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.3765, allocations: 0.5108 MB / 1.168 GB, free: 2.785 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/0.3785, allocations: 0.758 MB / 1.169 GB, free: 1.996 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3785, allocations: 0 / 1.169 GB, free: 1.996 MB / 0.92 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002735/0.3813, allocations: 1.072 MB / 1.17 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3813, allocations: 7.938 kB / 1.17 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3813, allocations: 4 kB / 1.17 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.3825, allocations: 310.9 kB / 1.17 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005791/0.3831, allocations: 139.7 kB / 1.17 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.3845, allocations: 0.9075 MB / 1.171 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008049/0.3853, allocations: 123.4 kB / 1.171 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.173e-05/0.3854, allocations: 31.91 kB / 1.171 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001225/0.3866, allocations: 0.5596 MB / 1.172 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001115/0.3877, allocations: 0.5069 MB / 1.172 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001954/0.3897, allocations: 0.7579 MB / 1.173 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.694e-06/0.3897, allocations: 0 / 1.173 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002715/0.3924, allocations: 1.064 MB / 1.174 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.765e-06/0.3924, allocations: 4 kB / 1.174 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3924, allocations: 4 kB / 1.174 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000988/0.3934, allocations: 306.7 kB / 1.174 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005709/0.394, allocations: 131.8 kB / 1.174 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.3954, allocations: 0.9112 MB / 1.175 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008118/0.3962, allocations: 111.6 kB / 1.175 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.728e-05/0.3963, allocations: 27.98 kB / 1.175 GB, free: 10.86 MB / 0.9356 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.0001737/0.3964, allocations: 216.1 kB / 1.176 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.3966, allocations: 110.6 kB / 1.176 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002942/0.3996, allocations: 1.164 MB / 1.177 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.3996, allocations: 8 kB / 1.177 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3996, allocations: 0 / 1.177 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3996, allocations: 7.984 kB / 1.177 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004122/0.4037, allocations: 2.252 MB / 1.179 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.4038, allocations: 4 kB / 1.179 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005209/0.4043, allocations: 104 kB / 1.179 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009246/0.4052, allocations: 306.5 kB / 1.179 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.267e-05/0.4053, allocations: 19.98 kB / 1.179 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001397/0.4067, allocations: 0.9328 MB / 1.18 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4067, allocations: 0 / 1.18 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003476/0.4102, allocations: 1.323 MB / 1.182 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003369/0.4105, allocations: 279.5 kB / 1.182 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.4106, allocations: 15.94 kB / 1.182 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007705/0.4114, allocations: 79.91 kB / 1.182 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.816e-05/0.4115, allocations: 36.33 kB / 1.182 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.291e-05/0.4116, allocations: 31.91 kB / 1.182 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008023/0.4124, allocations: 0.6714 MB / 1.183 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4124, allocations: 8 kB / 1.183 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001159/0.4136, allocations: 0.5691 MB / 1.183 GB, free: 2.555 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.003554/0.4171, allocations: 2.002 MB / 1.185 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003587/0.4207, allocations: 1.338 MB / 1.187 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4207, allocations: 7.938 kB / 1.187 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.4219, allocations: 464.8 kB / 1.187 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/0.4238, allocations: 495.1 kB / 1.187 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/0.438, allocations: 8.595 MB / 1.196 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006269/0.4386, allocations: 1.07 MB / 1.197 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008213/0.4395, allocations: 234.5 kB / 1.197 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005369/0.44, allocations: 423.3 kB / 1.198 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of SimCode: time 2.6e-07/0.44, allocations: 0 / 1.198 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.872/2.312, allocations: 32.97 MB / 1.23 GB, free: 3 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.42/20.73, allocations: 9.625 kB / 1.23 GB, free: 2.992 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)