Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",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.0007928/0.0007971, allocations: 86.48 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.0008214/0.0008214, 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.581/1.581, allocations: 205.4 MB / 222.1 MB, free: 5.418 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.788/1.788, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005083/0.0005083, allocations: 13.97 kB / 0.6738 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2424, 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_LowTemperature): time 0.05394/0.2963, allocations: 56.6 MB / 0.8427 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01499/0.3114, allocations: 11.15 MB / 0.8536 GB, free: 7.941 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001973/0.3134, allocations: 47.69 kB / 0.8536 GB, free: 7.895 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.315, allocations: 472.8 kB / 0.8541 GB, free: 7.43 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004613/0.3196, allocations: 1.512 MB / 0.8555 GB, free: 5.91 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002805/0.3224, allocations: 0.8914 MB / 0.8564 GB, free: 5.031 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004545/0.327, allocations: 3.402 MB / 0.8597 GB, free: 1.617 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.3285, allocations: 0.7949 MB / 0.8605 GB, free: 0.793 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00247/0.331, allocations: 1.054 MB / 0.8615 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.3324, allocations: 0.8244 MB / 0.8623 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.3325, allocations: 44 kB / 0.8624 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.335, allocations: 1.091 MB / 0.8634 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002455/0.3353, allocations: 207 kB / 0.8636 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004268/0.3357, allocations: 285 kB / 0.8639 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002103/0.3378, allocations: 1.645 MB / 0.8655 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.3378, allocations: 0 / 0.8655 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3378, allocations: 0 / 0.8655 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.074e-05/0.3379, allocations: 4 kB / 0.8655 GB, free: 11.63 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.002921/0.3408, allocations: 1.536 MB / 0.867 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3409, allocations: 12.03 kB / 0.867 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001591/0.341, allocations: 122.7 kB / 0.8671 GB, free: 9.895 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/0.343, allocations: 473.9 kB / 0.8676 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/0.3452, allocations: 1.098 MB / 0.8687 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003369/0.3455, allocations: 129.9 kB / 0.8688 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.3457, allocations: 84 kB / 0.8689 GB, free: 8.066 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/0.3477, allocations: 1.023 MB / 0.8699 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.3477, allocations: 3.938 kB / 0.8699 GB, free: 7 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.763e-05/0.3478, allocations: 36 kB / 0.8699 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.3479, allocations: 20 kB / 0.8699 GB, free: 6.945 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002385/0.3502, allocations: 0.9641 MB / 0.8709 GB, free: 5.984 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.006525/0.3568, allocations: 4.639 MB / 0.8754 GB, free: 1.031 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003254/0.3601, allocations: 0.9423 MB / 0.8763 GB, free: 84 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008142/0.3609, allocations: 357.9 kB / 0.8767 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006793/0.3616, allocations: 0.9146 MB / 0.8776 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.3616, allocations: 39 kB / 0.8776 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 2.264e-06/0.3616, allocations: 0 / 0.8776 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.00823/0.3699, allocations: 2.256 MB / 0.8798 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.3699, allocations: 59.78 kB / 0.8799 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.3715, allocations: 1.06 MB / 0.8809 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.425e-05/0.3716, allocations: 41.7 kB / 0.8809 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004577/0.3721, allocations: 0.5274 MB / 0.8814 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.3723, allocations: 161.6 kB / 0.8816 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.3723, allocations: 8 kB / 0.8816 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.3725, allocations: 334 kB / 0.8819 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009195/0.3734, allocations: 352.9 kB / 0.8823 GB, free: 9.711 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.3746, allocations: 0.5524 MB / 0.8828 GB, free: 9.078 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.3758, allocations: 392.6 kB / 0.8832 GB, free: 8.695 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.3758, allocations: 0 / 0.8832 GB, free: 8.695 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002797/0.3786, allocations: 1.1 MB / 0.8842 GB, free: 7.582 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.3788, allocations: 212.3 kB / 0.8845 GB, free: 7.324 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.3788, allocations: 4 kB / 0.8845 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.3801, allocations: 340.4 kB / 0.8848 GB, free: 6.984 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006057/0.3807, allocations: 143.8 kB / 0.8849 GB, free: 6.844 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.3821, allocations: 0.937 MB / 0.8858 GB, free: 5.883 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.3834, allocations: 207.9 kB / 0.886 GB, free: 5.68 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.189e-05/0.3835, allocations: 27.98 kB / 0.8861 GB, free: 5.652 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.3835, allocations: 4 kB / 0.8861 GB, free: 5.648 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002561/0.3861, allocations: 0.9828 MB / 0.887 GB, free: 4.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3861, allocations: 4 kB / 0.887 GB, free: 4.656 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.3872, allocations: 321 kB / 0.8873 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005616/0.3878, allocations: 143.8 kB / 0.8875 GB, free: 4.199 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.3892, allocations: 0.9379 MB / 0.8884 GB, free: 3.238 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.3904, allocations: 179.4 kB / 0.8886 GB, free: 3.062 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.386e-05/0.3905, allocations: 31.98 kB / 0.8886 GB, free: 3.031 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (56): * Single equations (assignments): 55 * 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.0005867/0.3911, allocations: 352.9 kB / 0.8889 GB, free: 2.676 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.3913, allocations: 114.7 kB / 0.889 GB, free: 2.562 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00393/0.3953, allocations: 1.307 MB / 0.8903 GB, free: 1.246 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/0.3953, allocations: 15.98 kB / 0.8903 GB, free: 1.23 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.3953, allocations: 4 kB / 0.8903 GB, free: 1.227 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.3953, allocations: 0 / 0.8903 GB, free: 1.227 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005575/0.4009, allocations: 2.386 MB / 0.8927 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.401, allocations: 4 kB / 0.8927 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003461/0.4013, allocations: 80.16 kB / 0.8927 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009732/0.4023, allocations: 320.6 kB / 0.893 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/0.4023, allocations: 19.98 kB / 0.8931 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/0.4038, allocations: 0.9776 MB / 0.894 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4038, allocations: 0 / 0.894 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003849/0.4077, allocations: 1.353 MB / 0.8953 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005953/0.4083, allocations: 291.4 kB / 0.8956 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/0.4085, allocations: 12 kB / 0.8956 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009908/0.4095, allocations: 123.9 kB / 0.8957 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.4096, allocations: 43.25 kB / 0.8958 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.227e-05/0.4097, allocations: 27.98 kB / 0.8958 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001381/0.4111, allocations: 0.7432 MB / 0.8965 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4111, allocations: 0 / 0.8965 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00173/0.4129, allocations: 0.5614 MB / 0.8971 GB, free: 10.12 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 (38): * Single equations (assignments): 33 * 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.004518/0.4174, allocations: 2.173 MB / 0.8992 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003374/0.4208, allocations: 1.264 MB / 0.9004 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4208, allocations: 0 / 0.9004 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009856/0.4218, allocations: 422.7 kB / 0.9008 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/0.4244, allocations: 0.5285 MB / 0.9014 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/0.4409, allocations: 7.047 MB / 0.9082 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007724/0.4417, allocations: 1.066 MB / 0.9093 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001179/0.4429, allocations: 232 kB / 0.9095 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005964/0.4435, allocations: 411.3 kB / 0.9099 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of SimCode: time 6.92e-07/0.4435, allocations: 4 kB / 0.9099 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5071/0.9507, allocations: 34.24 MB / 0.9433 GB, free: 128 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/0.9509, allocations: 269 kB / 0.9436 GB, free: 127.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.698/3.648, allocations: 0 / 0.9436 GB, free: 127.7 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1) Environment - environmentSimulation: