Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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_LimitedCapacity,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",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.001064/0.001064, allocations: 86.95 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.001421/0.001421, 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.585/1.585, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.799/1.799, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0005508/0.0005511, allocations: 18.3 kB / 0.6738 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2862, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05446/0.3408, allocations: 56.55 MB / 0.8426 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01665/0.3574, allocations: 11.12 MB / 0.8535 GB, free: 7.98 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002529/0.36, allocations: 51.62 kB / 0.8535 GB, free: 7.93 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002037/0.3621, allocations: 468.9 kB / 0.854 GB, free: 7.469 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00575/0.3679, allocations: 1.511 MB / 0.8555 GB, free: 5.953 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003495/0.3714, allocations: 0.8769 MB / 0.8563 GB, free: 5.086 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005677/0.3771, allocations: 3.39 MB / 0.8596 GB, free: 1.684 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002024/0.3791, allocations: 0.7898 MB / 0.8604 GB, free: 0.8672 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003165/0.3823, allocations: 1.05 MB / 0.8614 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002065/0.3844, allocations: 0.8088 MB / 0.8622 GB, free: 15 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000404/0.3848, allocations: 44 kB / 0.8622 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00321/0.3881, allocations: 1.111 MB / 0.8633 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004385/0.3885, allocations: 203 kB / 0.8635 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007543/0.3893, allocations: 285 kB / 0.8638 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002946/0.3922, allocations: 1.652 MB / 0.8654 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.3923, allocations: 0 / 0.8654 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3923, allocations: 0 / 0.8654 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.789e-05/0.3923, allocations: 0 / 0.8654 GB, free: 11.7 MB / 0.6856 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.003604/0.396, allocations: 1.516 MB / 0.8669 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.396, allocations: 8.031 kB / 0.8669 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002662/0.3963, allocations: 130.7 kB / 0.867 GB, free: 9.984 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.398, allocations: 378 kB / 0.8674 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002803/0.4008, allocations: 1.1 MB / 0.8685 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/0.4012, allocations: 125.9 kB / 0.8686 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.4014, allocations: 84 kB / 0.8687 GB, free: 8.254 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.4037, allocations: 0.9566 MB / 0.8696 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.4037, allocations: 7.938 kB / 0.8696 GB, free: 7.25 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-05/0.4038, allocations: 36 kB / 0.8696 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.4038, allocations: 20 kB / 0.8697 GB, free: 7.195 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/0.406, allocations: 0.8509 MB / 0.8705 GB, free: 6.348 MB / 0.6856 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.007642/0.4137, allocations: 4.525 MB / 0.8749 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.4153, allocations: 0.634 MB / 0.8755 GB, free: 0.8711 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006348/0.416, allocations: 300.8 kB / 0.8758 GB, free: 0.5742 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/0.4174, allocations: 1.393 MB / 0.8772 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.4175, allocations: 46.92 kB / 0.8772 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 2.575e-06/0.4175, allocations: 0 / 0.8772 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.006458/0.424, allocations: 1.889 MB / 0.8791 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.424, allocations: 59.8 kB / 0.8791 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/0.4258, allocations: 1.056 MB / 0.8801 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.715e-05/0.4259, allocations: 37.7 kB / 0.8802 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004355/0.4263, allocations: 0.5197 MB / 0.8807 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.4265, allocations: 165.6 kB / 0.8808 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.4265, allocations: 8 kB / 0.8809 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.4267, allocations: 330 kB / 0.8812 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007445/0.4274, allocations: 296.9 kB / 0.8815 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009167/0.4283, allocations: 495.2 kB / 0.8819 GB, free: 9.852 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008286/0.4292, allocations: 332.6 kB / 0.8822 GB, free: 9.531 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.4292, allocations: 4 kB / 0.8822 GB, free: 9.527 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002453/0.4317, allocations: 0.9951 MB / 0.8832 GB, free: 8.52 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.4318, allocations: 200.4 kB / 0.8834 GB, free: 8.273 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.4318, allocations: 4 kB / 0.8834 GB, free: 8.27 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/0.4331, allocations: 328.5 kB / 0.8837 GB, free: 7.945 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/0.4336, allocations: 123.8 kB / 0.8838 GB, free: 7.824 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.4351, allocations: 0.9425 MB / 0.8848 GB, free: 6.855 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.4364, allocations: 175.3 kB / 0.8849 GB, free: 6.684 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-05/0.4366, allocations: 31.98 kB / 0.885 GB, free: 6.652 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.4366, allocations: 4 kB / 0.885 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002276/0.4389, allocations: 0.8697 MB / 0.8858 GB, free: 5.773 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.4389, allocations: 4 kB / 0.8858 GB, free: 5.77 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.4401, allocations: 319.9 kB / 0.8861 GB, free: 5.457 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005075/0.4406, allocations: 123.8 kB / 0.8862 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.442, allocations: 0.9386 MB / 0.8872 GB, free: 4.371 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.4432, allocations: 163.3 kB / 0.8873 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.726e-05/0.4433, allocations: 35.97 kB / 0.8874 GB, free: 4.176 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006089/0.4439, allocations: 345 kB / 0.8877 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/0.4442, allocations: 118.7 kB / 0.8878 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003054/0.4473, allocations: 1.123 MB / 0.8889 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.4473, allocations: 4 kB / 0.8889 GB, free: 2.574 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.4473, allocations: 0 / 0.8889 GB, free: 2.574 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.4473, allocations: 7.984 kB / 0.8889 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004899/0.4522, allocations: 2.212 MB / 0.8911 GB, free: 280 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.4522, allocations: 4 kB / 0.8911 GB, free: 276 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.4525, allocations: 63.91 kB / 0.8911 GB, free: 212 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009838/0.4535, allocations: 316.8 kB / 0.8914 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/0.4536, allocations: 19.95 kB / 0.8914 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.4549, allocations: 0.966 MB / 0.8924 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.455, allocations: 3.938 kB / 0.8924 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003226/0.4582, allocations: 1.235 MB / 0.8936 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000502/0.4587, allocations: 291.3 kB / 0.8939 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/0.4589, allocations: 16 kB / 0.8939 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008481/0.4598, allocations: 91.91 kB / 0.894 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.4599, allocations: 43.89 kB / 0.894 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.792e-05/0.46, allocations: 23.98 kB / 0.894 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001271/0.4612, allocations: 0.7352 MB / 0.8948 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4612, allocations: 0 / 0.8948 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001865/0.4631, allocations: 0.5731 MB / 0.8953 GB, free: 11.8 MB / 0.7169 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 (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004141/0.4673, allocations: 2.065 MB / 0.8973 GB, free: 9.688 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002843/0.4701, allocations: 1.096 MB / 0.8984 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.4701, allocations: 3.938 kB / 0.8984 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008385/0.471, allocations: 351.4 kB / 0.8987 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/0.4737, allocations: 0.5259 MB / 0.8993 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/0.488, allocations: 6.541 MB / 0.9057 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007358/0.4887, allocations: 1.07 MB / 0.9067 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001139/0.4899, allocations: 227.3 kB / 0.9069 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005921/0.4905, allocations: 411.3 kB / 0.9073 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of SimCode: time 5.62e-07/0.4905, allocations: 0 / 0.9073 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4906/0.9812, allocations: 34.12 MB / 0.9406 GB, free: 128.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/0.9814, allocations: 268 kB / 0.9409 GB, free: 128.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.717/3.698, allocations: 1.281 kB / 0.9409 GB, free: 128.5 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.fmu > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1) Environment - environmentSimulation: