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.001227/0.001228, allocations: 100 kB / 15.05 MB, free: 1.105 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.001432/0.001432, allocations: 177.3 kB / 15.94 MB, free: 228 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.751/1.751, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.734/1.734, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0005028/0.0005028, allocations: 14.06 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2666, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.04573/0.3124, allocations: 51.37 MB / 0.8374 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0151/0.3275, allocations: 10.21 MB / 0.8474 GB, free: 14.12 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00199/0.3295, allocations: 51.62 kB / 0.8474 GB, free: 14.07 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.3316, allocations: 0.6297 MB / 0.848 GB, free: 13.44 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005838/0.3374, allocations: 1.905 MB / 0.8499 GB, free: 11.53 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003835/0.3413, allocations: 1.316 MB / 0.8512 GB, free: 10.24 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00346/0.3447, allocations: 1.855 MB / 0.853 GB, free: 8.379 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.346, allocations: 0.834 MB / 0.8538 GB, free: 7.516 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/0.3482, allocations: 0.9847 MB / 0.8548 GB, free: 6.527 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.3493, allocations: 0.6066 MB / 0.8554 GB, free: 5.918 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.3494, allocations: 44 kB / 0.8554 GB, free: 5.875 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002281/0.3517, allocations: 0.9868 MB / 0.8564 GB, free: 4.887 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.3519, allocations: 203.1 kB / 0.8566 GB, free: 4.688 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002973/0.3522, allocations: 285 kB / 0.8568 GB, free: 4.402 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001877/0.3541, allocations: 1.598 MB / 0.8584 GB, free: 2.801 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.3541, allocations: 0 / 0.8584 GB, free: 2.801 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3541, allocations: 0 / 0.8584 GB, free: 2.801 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.713e-05/0.3541, allocations: 0 / 0.8584 GB, free: 2.801 MB / 0.67 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.002634/0.3568, allocations: 1.489 MB / 0.8598 GB, free: 1.254 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3568, allocations: 16.03 kB / 0.8599 GB, free: 1.238 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001399/0.357, allocations: 122.8 kB / 0.86 GB, free: 1.109 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002341/0.3593, allocations: 0.5134 MB / 0.8605 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.3612, allocations: 1.07 MB / 0.8615 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000338/0.3616, allocations: 137.8 kB / 0.8616 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.3617, allocations: 84 kB / 0.8617 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.3638, allocations: 1.025 MB / 0.8627 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.3639, allocations: 0 / 0.8627 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.051e-05/0.3639, allocations: 32 kB / 0.8628 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.364, allocations: 20 kB / 0.8628 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002462/0.3664, allocations: 0.9993 MB / 0.8638 GB, free: 13.14 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.005991/0.3724, allocations: 4.736 MB / 0.8684 GB, free: 8.059 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003932/0.3764, allocations: 1.125 MB / 0.8695 GB, free: 6.926 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009756/0.3774, allocations: 1.025 MB / 0.8705 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.3774, allocations: 42.94 kB / 0.8705 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=53): time 2.184e-06/0.3774, allocations: 0 / 0.8705 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of matching and sorting (n=53): time 0.01046/0.3879, allocations: 2.486 MB / 0.8729 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.3879, allocations: 63.84 kB / 0.873 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.3891, allocations: 0.9432 MB / 0.8739 GB, free: 2.078 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.449e-05/0.3891, allocations: 45.58 kB / 0.874 GB, free: 2.027 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003609/0.3895, allocations: 0.5118 MB / 0.8745 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.3897, allocations: 181.3 kB / 0.8746 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.3897, allocations: 12 kB / 0.8747 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.501e-05/0.3898, allocations: 322 kB / 0.875 GB, free: 1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009858/0.3908, allocations: 380.9 kB / 0.8753 GB, free: 0.6289 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.3919, allocations: 0.5419 MB / 0.8759 GB, free: 28 kB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009955/0.3929, allocations: 401.9 kB / 0.8762 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3929, allocations: 0 / 0.8762 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002748/0.3957, allocations: 1.131 MB / 0.8773 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003455/0.396, allocations: 0.9652 MB / 0.8783 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3961, allocations: 0 / 0.8783 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/0.3972, allocations: 336.5 kB / 0.8786 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006134/0.3979, allocations: 147.8 kB / 0.8787 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.3992, allocations: 0.93 MB / 0.8797 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.4004, allocations: 179.2 kB / 0.8798 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.611e-05/0.4004, allocations: 31.98 kB / 0.8799 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/0.4005, allocations: 4 kB / 0.8799 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002619/0.4031, allocations: 1.001 MB / 0.8808 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4031, allocations: 4 kB / 0.8808 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.4041, allocations: 320.9 kB / 0.8812 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005943/0.4047, allocations: 143.8 kB / 0.8813 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.4061, allocations: 0.927 MB / 0.8822 GB, free: 9.395 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.4072, allocations: 179.3 kB / 0.8824 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/0.4073, allocations: 27.98 kB / 0.8824 GB, free: 9.191 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.0004924/0.4078, allocations: 349 kB / 0.8827 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.4079, allocations: 106.7 kB / 0.8828 GB, free: 8.734 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004267/0.4122, allocations: 1.443 MB / 0.8842 GB, free: 7.281 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.4122, allocations: 8 kB / 0.8842 GB, free: 7.273 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.4122, allocations: 0 / 0.8842 GB, free: 7.273 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.4123, allocations: 7.938 kB / 0.8842 GB, free: 7.266 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005529/0.4178, allocations: 2.541 MB / 0.8867 GB, free: 4.648 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.4178, allocations: 4 kB / 0.8867 GB, free: 4.645 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005234/0.4183, allocations: 112 kB / 0.8868 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009626/0.4193, allocations: 331.5 kB / 0.8872 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-05/0.4194, allocations: 19.98 kB / 0.8872 GB, free: 4.191 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/0.4207, allocations: 0.9659 MB / 0.8881 GB, free: 3.199 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4207, allocations: 4.031 kB / 0.8881 GB, free: 3.195 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003946/0.4247, allocations: 1.522 MB / 0.8896 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004497/0.4251, allocations: 303.3 kB / 0.8899 GB, free: 1.285 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.4253, allocations: 12 kB / 0.8899 GB, free: 1.273 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008914/0.4262, allocations: 127.8 kB / 0.89 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/0.4263, allocations: 40.39 kB / 0.8901 GB, free: 1.109 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.442e-05/0.4263, allocations: 27.97 kB / 0.8901 GB, free: 1.082 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008392/0.4272, allocations: 0.6637 MB / 0.8907 GB, free: 420 kB / 0.7012 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4272, allocations: 0 / 0.8907 GB, free: 420 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001341/0.4285, allocations: 0.5731 MB / 0.8913 GB, free: 15.83 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.005022/0.4335, allocations: 2.751 MB / 0.894 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003591/0.4372, allocations: 1.389 MB / 0.8953 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.4372, allocations: 0 / 0.8953 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.4384, allocations: 492.8 kB / 0.8958 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/0.4406, allocations: 0.5002 MB / 0.8963 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005105/0.4457, allocations: 4.493 MB / 0.9007 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/0.4463, allocations: 1.09 MB / 0.9018 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009045/0.4472, allocations: 235.9 kB / 0.902 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004871/0.4477, allocations: 415.3 kB / 0.9024 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of SimCode: time 4.1e-07/0.4477, allocations: 0 / 0.9024 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.902/2.35, allocations: 33.1 MB / 0.9347 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/2.35, allocations: 258.7 kB / 0.935 GB, free: 132.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/4.725, allocations: 3.906 kB / 0.935 GB, free: 132.2 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: