Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_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.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_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.0009608/0.0009607, 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.001087/0.001087, 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.588/1.588, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.762/1.762, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005176/0.0005176, allocations: 13.94 kB / 0.6738 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2456, allocations: 116.3 MB / 0.7874 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05339/0.299, allocations: 56.55 MB / 0.8426 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01632/0.3154, allocations: 11.13 MB / 0.8535 GB, free: 8.008 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.3174, allocations: 51.62 kB / 0.8535 GB, free: 7.957 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.3191, allocations: 472.8 kB / 0.854 GB, free: 7.492 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004448/0.3235, allocations: 1.513 MB / 0.8555 GB, free: 5.973 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00269/0.3262, allocations: 0.8953 MB / 0.8563 GB, free: 5.094 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004424/0.3307, allocations: 3.39 MB / 0.8597 GB, free: 1.691 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/0.3323, allocations: 0.8025 MB / 0.8604 GB, free: 0.8594 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002462/0.3348, allocations: 1.05 MB / 0.8615 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/0.3365, allocations: 0.8166 MB / 0.8623 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002789/0.3368, allocations: 44 kB / 0.8623 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002749/0.3396, allocations: 1.091 MB / 0.8634 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000345/0.3399, allocations: 199 kB / 0.8636 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005855/0.3405, allocations: 289 kB / 0.8638 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002412/0.343, allocations: 1.645 MB / 0.8654 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.343, allocations: 0 / 0.8654 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.964e-06/0.343, allocations: 0 / 0.8654 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.682e-05/0.3431, allocations: 4 kB / 0.8654 GB, free: 11.71 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.003952/0.347, allocations: 1.505 MB / 0.8669 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3471, allocations: 12.03 kB / 0.8669 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002897/0.3474, allocations: 126.8 kB / 0.867 GB, free: 10 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002512/0.3499, allocations: 0.5134 MB / 0.8675 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/0.3524, allocations: 1.105 MB / 0.8686 GB, free: 8.324 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000352/0.3528, allocations: 129.9 kB / 0.8687 GB, free: 8.199 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.3529, allocations: 80 kB / 0.8688 GB, free: 8.121 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/0.3552, allocations: 1.033 MB / 0.8698 GB, free: 7.055 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.3552, allocations: 3.984 kB / 0.8698 GB, free: 7.051 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.293e-05/0.3553, allocations: 32 kB / 0.8699 GB, free: 7.02 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.3553, allocations: 16 kB / 0.8699 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002554/0.3579, allocations: 1.007 MB / 0.8709 GB, free: 6 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.006538/0.3644, allocations: 4.712 MB / 0.8755 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003823/0.3683, allocations: 1.114 MB / 0.8766 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.3693, allocations: 441.9 kB / 0.877 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/0.3704, allocations: 1.033 MB / 0.878 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.3704, allocations: 38.94 kB / 0.878 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=53): time 2.474e-06/0.3704, allocations: 0 / 0.878 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of matching and sorting (n=53): time 0.009447/0.3799, allocations: 2.498 MB / 0.8805 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.38, allocations: 55.84 kB / 0.8805 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/0.3822, allocations: 0.9314 MB / 0.8814 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001337/0.3823, allocations: 37.7 kB / 0.8815 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000665/0.383, allocations: 0.5118 MB / 0.882 GB, free: 9.977 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.3833, allocations: 185.3 kB / 0.8821 GB, free: 9.793 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.3833, allocations: 8 kB / 0.8821 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3835, allocations: 334 kB / 0.8825 GB, free: 9.453 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009957/0.3845, allocations: 372.9 kB / 0.8828 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.3857, allocations: 0.5435 MB / 0.8833 GB, free: 8.484 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.3867, allocations: 405.9 kB / 0.8837 GB, free: 8.09 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.3867, allocations: 0 / 0.8837 GB, free: 8.09 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002892/0.3896, allocations: 1.127 MB / 0.8848 GB, free: 6.949 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.3898, allocations: 160.3 kB / 0.885 GB, free: 6.758 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3898, allocations: 4 kB / 0.885 GB, free: 6.754 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/0.391, allocations: 332.6 kB / 0.8853 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006072/0.3917, allocations: 139.8 kB / 0.8854 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.3931, allocations: 0.9334 MB / 0.8864 GB, free: 5.332 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.3943, allocations: 186.1 kB / 0.8865 GB, free: 5.152 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.717e-05/0.3944, allocations: 27.98 kB / 0.8866 GB, free: 5.125 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.3944, allocations: 4 kB / 0.8866 GB, free: 5.121 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002534/0.397, allocations: 1.001 MB / 0.8875 GB, free: 4.113 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.397, allocations: 4 kB / 0.8875 GB, free: 4.109 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.398, allocations: 320.9 kB / 0.8878 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.3986, allocations: 139.8 kB / 0.888 GB, free: 3.656 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.4, allocations: 0.9387 MB / 0.8889 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.4011, allocations: 167.4 kB / 0.8891 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.519e-05/0.4012, allocations: 31.98 kB / 0.8891 GB, free: 2.496 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.0006021/0.4018, allocations: 348.9 kB / 0.8894 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002877/0.4021, allocations: 106.7 kB / 0.8895 GB, free: 2.039 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004128/0.4063, allocations: 1.455 MB / 0.8909 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.4063, allocations: 8 kB / 0.891 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.4063, allocations: 3.938 kB / 0.891 GB, free: 0.5625 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.4063, allocations: 3.984 kB / 0.891 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005789/0.4121, allocations: 2.514 MB / 0.8934 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.4121, allocations: 4 kB / 0.8934 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/0.4127, allocations: 116 kB / 0.8935 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/0.4137, allocations: 331.5 kB / 0.8938 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.398e-05/0.4138, allocations: 19.98 kB / 0.8939 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/0.4152, allocations: 0.9659 MB / 0.8948 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.4153, allocations: 4.031 kB / 0.8948 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004035/0.4193, allocations: 1.448 MB / 0.8962 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006189/0.4199, allocations: 295.4 kB / 0.8965 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/0.4202, allocations: 16 kB / 0.8965 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.4213, allocations: 127.7 kB / 0.8966 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/0.4214, allocations: 48.27 kB / 0.8967 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.079e-05/0.4214, allocations: 23.98 kB / 0.8967 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001154/0.4226, allocations: 0.6519 MB / 0.8974 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4226, allocations: 4 kB / 0.8974 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002159/0.4248, allocations: 0.5613 MB / 0.8979 GB, free: 9.281 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.005303/0.4301, allocations: 2.258 MB / 0.9001 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003786/0.4339, allocations: 1.393 MB / 0.9015 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.4339, allocations: 0 / 0.9015 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.4352, allocations: 488.8 kB / 0.9019 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002846/0.438, allocations: 0.5057 MB / 0.9024 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01917/0.4572, allocations: 6.735 MB / 0.909 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008611/0.4581, allocations: 1.066 MB / 0.91 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00123/0.4594, allocations: 239.7 kB / 0.9103 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006928/0.4601, allocations: 419.3 kB / 0.9107 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of SimCode: time 1.463e-06/0.4601, allocations: 0 / 0.9107 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5375/0.9976, allocations: 33.39 MB / 0.9433 GB, free: 128.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001598/0.9978, allocations: 266.6 kB / 0.9435 GB, free: 128.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.577/3.575, allocations: 0 / 0.9435 GB, free: 128.5 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1) Environment - environmentSimulation: