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.001051/0.001052, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.008053/0.008053, allocations: 170.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.648/1.648, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005254/0.0005255, allocations: 19.28 kB / 0.6744 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2308, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05812/0.289, allocations: 59.79 MB / 0.8464 GB, free: 15.5 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01488/0.3039, allocations: 11.85 MB / 0.8579 GB, free: 3.629 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.3053, allocations: 51.69 kB / 0.858 GB, free: 3.578 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.3066, allocations: 0.5477 MB / 0.8585 GB, free: 3.027 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003872/0.3105, allocations: 1.789 MB / 0.8603 GB, free: 1.23 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.3128, allocations: 1.097 MB / 0.8613 GB, free: 148 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003661/0.3165, allocations: 3.902 MB / 0.8652 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.3176, allocations: 0.9109 MB / 0.866 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.3194, allocations: 1.116 MB / 0.8671 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009954/0.3204, allocations: 0.8708 MB / 0.868 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.3205, allocations: 44 kB / 0.868 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002158/0.3227, allocations: 1.333 MB / 0.8693 GB, free: 7.914 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.3229, allocations: 210.9 kB / 0.8695 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005611/0.3235, allocations: 0.635 MB / 0.8702 GB, free: 7.062 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00236/0.3258, allocations: 2.208 MB / 0.8723 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.3258, allocations: 4 kB / 0.8723 GB, free: 4.844 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3259, allocations: 0 / 0.8723 GB, free: 4.844 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.3259, allocations: 4 kB / 0.8723 GB, free: 4.84 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.002592/0.3285, allocations: 1.497 MB / 0.8738 GB, free: 3.285 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3285, allocations: 12.03 kB / 0.8738 GB, free: 3.273 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/0.3287, allocations: 122.9 kB / 0.8739 GB, free: 3.145 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002565/0.3312, allocations: 0.5219 MB / 0.8744 GB, free: 2.621 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.3331, allocations: 1.136 MB / 0.8755 GB, free: 1.426 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003634/0.3334, allocations: 129.9 kB / 0.8757 GB, free: 1.301 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.3336, allocations: 80 kB / 0.8757 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.3357, allocations: 1.037 MB / 0.8767 GB, free: 156 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.3357, allocations: 4 kB / 0.8767 GB, free: 152 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.702e-05/0.3358, allocations: 28 kB / 0.8768 GB, free: 124 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.3358, allocations: 20 kB / 0.8768 GB, free: 104 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002696/0.3385, allocations: 1.011 MB / 0.8778 GB, free: 15.09 MB / 0.7012 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.005653/0.3442, allocations: 4.716 MB / 0.8824 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004322/0.3485, allocations: 1.125 MB / 0.8835 GB, free: 8.895 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.3497, allocations: 445 kB / 0.8839 GB, free: 8.461 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009062/0.3506, allocations: 1.029 MB / 0.8849 GB, free: 7.211 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.3506, allocations: 43 kB / 0.885 GB, free: 7.16 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=53): time 2.375e-06/0.3506, allocations: 0 / 0.885 GB, free: 7.16 MB / 0.7012 GB Notification: Performance of matching and sorting (n=53): time 0.0101/0.3607, allocations: 2.502 MB / 0.8874 GB, free: 4.625 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.3608, allocations: 59.84 kB / 0.8875 GB, free: 4.555 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.362, allocations: 0.9392 MB / 0.8884 GB, free: 3.598 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.727e-05/0.362, allocations: 37.7 kB / 0.8884 GB, free: 3.555 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003872/0.3624, allocations: 0.5041 MB / 0.8889 GB, free: 3.047 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.3626, allocations: 189.2 kB / 0.8891 GB, free: 2.859 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.263e-05/0.3627, allocations: 49.64 kB / 0.8891 GB, free: 2.805 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3628, allocations: 334 kB / 0.8894 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.3639, allocations: 384.8 kB / 0.8898 GB, free: 2.098 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.3651, allocations: 0.5492 MB / 0.8903 GB, free: 1.488 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/0.3673, allocations: 0.8282 MB / 0.8912 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3673, allocations: 0 / 0.8912 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002988/0.3703, allocations: 1.135 MB / 0.8923 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.577e-05/0.3704, allocations: 160.3 kB / 0.8924 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3704, allocations: 7.984 kB / 0.8924 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/0.3717, allocations: 339.5 kB / 0.8927 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006428/0.3723, allocations: 147.8 kB / 0.8929 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.3738, allocations: 0.927 MB / 0.8938 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.3749, allocations: 179.3 kB / 0.894 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.908e-05/0.375, allocations: 27.98 kB / 0.894 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/0.375, allocations: 4 kB / 0.894 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002782/0.3778, allocations: 1.009 MB / 0.895 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3778, allocations: 7.938 kB / 0.895 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.379, allocations: 320.9 kB / 0.8953 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000627/0.3796, allocations: 139.8 kB / 0.8954 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.381, allocations: 0.9417 MB / 0.8963 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.3821, allocations: 171.4 kB / 0.8965 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/0.3822, allocations: 31.97 kB / 0.8965 GB, free: 11 MB / 0.7169 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.0005001/0.3827, allocations: 356.2 kB / 0.8969 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.3829, allocations: 114.5 kB / 0.897 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004858/0.3877, allocations: 1.439 MB / 0.8984 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.3878, allocations: 11.98 kB / 0.8984 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3878, allocations: 0 / 0.8984 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3878, allocations: 0 / 0.8984 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006013/0.3938, allocations: 2.533 MB / 0.9009 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3938, allocations: 0 / 0.9009 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005693/0.3944, allocations: 112 kB / 0.901 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/0.3955, allocations: 328.6 kB / 0.9013 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.664e-05/0.3955, allocations: 15.98 kB / 0.9013 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/0.3971, allocations: 0.9659 MB / 0.9023 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.3971, allocations: 7.969 kB / 0.9023 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004526/0.4016, allocations: 1.452 MB / 0.9037 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004922/0.4021, allocations: 291.4 kB / 0.904 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/0.4023, allocations: 16 kB / 0.904 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.4033, allocations: 131.8 kB / 0.9041 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.565e-05/0.4034, allocations: 40.33 kB / 0.9041 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.995e-05/0.4035, allocations: 27.97 kB / 0.9042 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009531/0.4044, allocations: 0.6598 MB / 0.9048 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4044, allocations: 4 kB / 0.9048 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001633/0.4061, allocations: 0.5691 MB / 0.9054 GB, free: 1.762 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 (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.005762/0.4118, allocations: 2.278 MB / 0.9076 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004056/0.4159, allocations: 1.397 MB / 0.909 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.4159, allocations: 0 / 0.909 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.4173, allocations: 492.8 kB / 0.9094 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003084/0.4204, allocations: 0.4977 MB / 0.9099 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01964/0.44, allocations: 9.326 MB / 0.919 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006247/0.4407, allocations: 1.066 MB / 0.9201 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001053/0.4417, allocations: 231.8 kB / 0.9203 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005716/0.4423, allocations: 411.3 kB / 0.9207 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of SimCode: time 7.31e-07/0.4423, allocations: 7.938 kB / 0.9207 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3932/0.8355, allocations: 31.84 MB / 0.9518 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002871/0.8358, allocations: 276.1 kB / 0.952 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.514/3.35, allocations: 0 / 0.952 GB, free: 123.6 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/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)