Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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_reverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_8_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.0008463/0.0008464, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001037/0.001037, allocations: 172.7 kB / 15.95 MB, free: 208 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.612/1.612, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.827/1.827, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0005634/0.0005635, allocations: 24.16 kB / 0.6738 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2642, allocations: 116.3 MB / 0.7874 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06147/0.3258, allocations: 56.56 MB / 0.8426 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01765/0.3435, allocations: 11.13 MB / 0.8535 GB, free: 8.02 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002199/0.3457, allocations: 47.69 kB / 0.8535 GB, free: 7.973 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.3479, allocations: 468.8 kB / 0.854 GB, free: 7.512 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006804/0.3548, allocations: 1.52 MB / 0.8555 GB, free: 5.984 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004147/0.359, allocations: 0.8812 MB / 0.8563 GB, free: 5.113 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005132/0.3641, allocations: 3.398 MB / 0.8596 GB, free: 1.703 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001878/0.366, allocations: 0.8025 MB / 0.8604 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002571/0.3686, allocations: 1.042 MB / 0.8614 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.3703, allocations: 0.8205 MB / 0.8622 GB, free: 15 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003293/0.3706, allocations: 44 kB / 0.8623 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002789/0.3734, allocations: 1.095 MB / 0.8634 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003324/0.3738, allocations: 210.9 kB / 0.8636 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006296/0.3744, allocations: 285 kB / 0.8638 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003335/0.3777, allocations: 1.645 MB / 0.8654 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3778, allocations: 0 / 0.8654 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3778, allocations: 0 / 0.8654 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.769e-05/0.3778, allocations: 0 / 0.8654 GB, free: 11.72 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003267/0.3811, allocations: 1.52 MB / 0.8669 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.3812, allocations: 8.031 kB / 0.8669 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002638/0.3814, allocations: 122.8 kB / 0.867 GB, free: 10 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002477/0.3839, allocations: 0.5174 MB / 0.8676 GB, free: 9.484 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002974/0.3869, allocations: 1.101 MB / 0.8686 GB, free: 8.324 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003451/0.3873, allocations: 133.9 kB / 0.8688 GB, free: 8.195 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/0.3875, allocations: 84 kB / 0.8688 GB, free: 8.113 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002249/0.3898, allocations: 1.033 MB / 0.8698 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.3898, allocations: 0 / 0.8698 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.877e-05/0.3899, allocations: 32 kB / 0.8699 GB, free: 7.016 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.954e-05/0.3899, allocations: 23.98 kB / 0.8699 GB, free: 6.992 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002556/0.3925, allocations: 0.9876 MB / 0.8709 GB, free: 6.008 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.00695/0.3994, allocations: 4.703 MB / 0.8755 GB, free: 0.957 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003818/0.4033, allocations: 1.121 MB / 0.8765 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.4043, allocations: 444.8 kB / 0.877 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000991/0.4053, allocations: 1.029 MB / 0.878 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.4054, allocations: 39 kB / 0.878 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=53): time 2.535e-06/0.4054, allocations: 0 / 0.878 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of matching and sorting (n=53): time 0.007068/0.4124, allocations: 2.15 MB / 0.8801 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.4125, allocations: 63.84 kB / 0.8802 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.4139, allocations: 0.928 MB / 0.8811 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.041e-05/0.414, allocations: 41.7 kB / 0.8811 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004219/0.4144, allocations: 0.508 MB / 0.8816 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.4146, allocations: 181.3 kB / 0.8818 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.4146, allocations: 12 kB / 0.8818 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4148, allocations: 326 kB / 0.8821 GB, free: 9.82 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009299/0.4157, allocations: 376.9 kB / 0.8825 GB, free: 9.453 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.4168, allocations: 0.537 MB / 0.883 GB, free: 8.859 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009621/0.4178, allocations: 397.9 kB / 0.8834 GB, free: 8.473 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4178, allocations: 0 / 0.8834 GB, free: 8.473 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003587/0.4214, allocations: 1.283 MB / 0.8846 GB, free: 7.176 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.4215, allocations: 168.4 kB / 0.8848 GB, free: 6.977 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.4215, allocations: 4 kB / 0.8848 GB, free: 6.973 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.4227, allocations: 336.5 kB / 0.8851 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006327/0.4234, allocations: 135.8 kB / 0.8852 GB, free: 6.508 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.4248, allocations: 0.9459 MB / 0.8862 GB, free: 5.539 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.4258, allocations: 170.2 kB / 0.8863 GB, free: 5.375 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.983e-05/0.4259, allocations: 27.98 kB / 0.8864 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 8.195e-06/0.4259, allocations: 4 kB / 0.8864 GB, free: 5.344 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003163/0.4291, allocations: 1.157 MB / 0.8875 GB, free: 4.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.4291, allocations: 8.312 kB / 0.8875 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.4302, allocations: 320.5 kB / 0.8878 GB, free: 3.855 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005944/0.4308, allocations: 147.8 kB / 0.8879 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.4321, allocations: 0.9347 MB / 0.8889 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.4332, allocations: 167.3 kB / 0.889 GB, free: 2.586 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.169e-05/0.4333, allocations: 35.97 kB / 0.8891 GB, free: 2.551 MB / 0.7012 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 (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.0005628/0.4338, allocations: 352.9 kB / 0.8894 GB, free: 2.195 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/0.4341, allocations: 110.6 kB / 0.8895 GB, free: 2.086 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002997/0.4371, allocations: 1.221 MB / 0.8907 GB, free: 0.8516 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/0.4371, allocations: 12 kB / 0.8907 GB, free: 0.8398 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.4371, allocations: 4 kB / 0.8907 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.4371, allocations: 3.984 kB / 0.8907 GB, free: 0.832 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004692/0.4418, allocations: 2.311 MB / 0.893 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.4419, allocations: 0 / 0.893 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005402/0.4424, allocations: 120 kB / 0.8931 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/0.4434, allocations: 316.5 kB / 0.8934 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.376e-05/0.4435, allocations: 19.98 kB / 0.8934 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/0.4449, allocations: 0.966 MB / 0.8943 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.4449, allocations: 0 / 0.8943 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003478/0.4484, allocations: 1.402 MB / 0.8957 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00059/0.449, allocations: 295.3 kB / 0.896 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/0.4492, allocations: 16 kB / 0.896 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009369/0.4502, allocations: 123.8 kB / 0.8961 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.696e-05/0.4503, allocations: 36.33 kB / 0.8962 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.015e-05/0.4504, allocations: 27.97 kB / 0.8962 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001132/0.4515, allocations: 0.6638 MB / 0.8968 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4515, allocations: 0 / 0.8968 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001561/0.4531, allocations: 0.5613 MB / 0.8974 GB, free: 9.824 MB / 0.7169 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 (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.003794/0.4569, allocations: 2.06 MB / 0.8994 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004502/0.4614, allocations: 1.389 MB / 0.9008 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.4614, allocations: 0 / 0.9008 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001581/0.463, allocations: 488.8 kB / 0.9012 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/0.4656, allocations: 0.5012 MB / 0.9017 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/0.4807, allocations: 6.767 MB / 0.9083 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000684/0.4814, allocations: 1.074 MB / 0.9094 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001189/0.4826, allocations: 239.8 kB / 0.9096 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000639/0.4832, allocations: 423.3 kB / 0.91 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of SimCode: time 3.066e-06/0.4833, allocations: 0 / 0.91 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4844/0.9677, allocations: 33.37 MB / 0.9426 GB, free: 128.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.9679, allocations: 262.8 kB / 0.9428 GB, free: 127.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.908/3.876, allocations: 1.062 kB / 0.9428 GB, free: 127.9 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1) Environment - environmentSimulation: