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.001193/0.001193, allocations: 97.91 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.001243/0.001244, 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.707/1.707, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.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.0007428/0.0007429, allocations: 20.44 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3061, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05068/0.3569, allocations: 51.39 MB / 0.8374 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01483/0.3718, allocations: 10.24 MB / 0.8474 GB, free: 14.08 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002181/0.374, allocations: 51.62 kB / 0.8475 GB, free: 14.03 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002466/0.3765, allocations: 0.6258 MB / 0.8481 GB, free: 13.4 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006909/0.3834, allocations: 1.912 MB / 0.8499 GB, free: 11.48 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004263/0.3877, allocations: 1.333 MB / 0.8512 GB, free: 10.18 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004263/0.392, allocations: 1.855 MB / 0.8531 GB, free: 8.316 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.3935, allocations: 0.8145 MB / 0.8538 GB, free: 7.473 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00247/0.396, allocations: 0.9964 MB / 0.8548 GB, free: 6.473 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.3973, allocations: 0.6105 MB / 0.8554 GB, free: 5.859 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.3974, allocations: 44 kB / 0.8555 GB, free: 5.816 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002541/0.4, allocations: 0.9907 MB / 0.8564 GB, free: 4.824 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002337/0.4002, allocations: 203.1 kB / 0.8566 GB, free: 4.625 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004516/0.4007, allocations: 285 kB / 0.8569 GB, free: 4.34 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.4028, allocations: 1.602 MB / 0.8585 GB, free: 2.734 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4028, allocations: 4 kB / 0.8585 GB, free: 2.73 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4028, allocations: 0 / 0.8585 GB, free: 2.73 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.4029, allocations: 0 / 0.8585 GB, free: 2.73 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.002799/0.4057, allocations: 1.505 MB / 0.8599 GB, free: 1.168 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.4057, allocations: 8.031 kB / 0.8599 GB, free: 1.16 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001517/0.4059, allocations: 130.7 kB / 0.8601 GB, free: 1.023 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/0.408, allocations: 473.9 kB / 0.8605 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.4099, allocations: 1.063 MB / 0.8616 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000341/0.4102, allocations: 125.9 kB / 0.8617 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.4104, allocations: 80 kB / 0.8617 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.4124, allocations: 1.023 MB / 0.8627 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.4124, allocations: 4 kB / 0.8627 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.649e-05/0.4125, allocations: 28 kB / 0.8628 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.4125, allocations: 20 kB / 0.8628 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/0.4149, allocations: 0.968 MB / 0.8637 GB, free: 13.16 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.007325/0.4222, allocations: 4.674 MB / 0.8683 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003623/0.4259, allocations: 0.9579 MB / 0.8692 GB, free: 7.207 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007427/0.4266, allocations: 0.9029 MB / 0.8701 GB, free: 6.102 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.4267, allocations: 42.98 kB / 0.8702 GB, free: 6.051 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=48): time 4.779e-06/0.4267, allocations: 4 kB / 0.8702 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48): time 0.008854/0.4356, allocations: 2.244 MB / 0.8724 GB, free: 3.773 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.4357, allocations: 55.84 kB / 0.8724 GB, free: 3.707 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/0.4374, allocations: 1.079 MB / 0.8735 GB, free: 2.613 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.449e-05/0.4375, allocations: 37.7 kB / 0.8735 GB, free: 2.57 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004318/0.438, allocations: 0.5237 MB / 0.874 GB, free: 2.043 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.4381, allocations: 169.5 kB / 0.8742 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.4382, allocations: 20 kB / 0.8742 GB, free: 1.855 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.4383, allocations: 329.9 kB / 0.8745 GB, free: 1.527 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009556/0.4392, allocations: 352.8 kB / 0.8748 GB, free: 1.184 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.4403, allocations: 0.5524 MB / 0.8754 GB, free: 0.5469 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009647/0.4413, allocations: 388.5 kB / 0.8758 GB, free: 176 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.4413, allocations: 0 / 0.8758 GB, free: 176 kB / 0.6856 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002872/0.4442, allocations: 1.112 MB / 0.8768 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006179/0.4448, allocations: 1.494 MB / 0.8783 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.4449, allocations: 4 kB / 0.8783 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.4462, allocations: 332.5 kB / 0.8786 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005995/0.4468, allocations: 147.8 kB / 0.8788 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.4482, allocations: 0.9372 MB / 0.8797 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.4497, allocations: 207.8 kB / 0.8799 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.846e-05/0.4498, allocations: 31.97 kB / 0.8799 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.4498, allocations: 4 kB / 0.8799 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002576/0.4524, allocations: 0.979 MB / 0.8809 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.4524, allocations: 4 kB / 0.8809 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.4535, allocations: 317 kB / 0.8812 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005729/0.4541, allocations: 147.8 kB / 0.8813 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.4555, allocations: 0.9347 MB / 0.8822 GB, free: 9.367 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.4568, allocations: 187.3 kB / 0.8824 GB, free: 9.184 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.27e-05/0.4569, allocations: 27.98 kB / 0.8824 GB, free: 9.156 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.0007054/0.4576, allocations: 353 kB / 0.8828 GB, free: 8.801 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.4578, allocations: 110.6 kB / 0.8829 GB, free: 8.691 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004196/0.462, allocations: 1.315 MB / 0.8842 GB, free: 7.363 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/0.462, allocations: 8 kB / 0.8842 GB, free: 7.355 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.462, allocations: 0 / 0.8842 GB, free: 7.355 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.4621, allocations: 3.984 kB / 0.8842 GB, free: 7.352 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005589/0.4677, allocations: 2.397 MB / 0.8865 GB, free: 4.871 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.4677, allocations: 7.938 kB / 0.8865 GB, free: 4.863 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003521/0.468, allocations: 92.16 kB / 0.8866 GB, free: 4.773 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/0.4691, allocations: 320.5 kB / 0.8869 GB, free: 4.457 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.4691, allocations: 15.98 kB / 0.8869 GB, free: 4.441 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.4706, allocations: 0.966 MB / 0.8879 GB, free: 3.449 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.4706, allocations: 4 kB / 0.8879 GB, free: 3.445 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003852/0.4744, allocations: 1.472 MB / 0.8893 GB, free: 1.879 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006275/0.4751, allocations: 291.4 kB / 0.8896 GB, free: 1.574 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.4752, allocations: 12 kB / 0.8896 GB, free: 1.562 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009115/0.4762, allocations: 123.8 kB / 0.8897 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.4763, allocations: 43.28 kB / 0.8898 GB, free: 1.402 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.737e-05/0.4763, allocations: 23.98 kB / 0.8898 GB, free: 1.379 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001176/0.4775, allocations: 0.7549 MB / 0.8905 GB, free: 0.6172 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4775, allocations: 0 / 0.8905 GB, free: 0.6172 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001539/0.4791, allocations: 0.5692 MB / 0.8911 GB, free: 48 kB / 0.7012 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.004948/0.484, allocations: 2.904 MB / 0.8939 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003439/0.4875, allocations: 1.272 MB / 0.8952 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.4875, allocations: 0 / 0.8952 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009937/0.4885, allocations: 422.7 kB / 0.8956 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/0.4911, allocations: 0.5184 MB / 0.8961 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007304/0.4984, allocations: 5.683 MB / 0.9016 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000625/0.4991, allocations: 1.086 MB / 0.9027 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001099/0.5002, allocations: 237.4 kB / 0.9029 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005262/0.5007, allocations: 415.3 kB / 0.9033 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of SimCode: time 1.353e-06/0.5008, allocations: 0 / 0.9033 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.922/2.423, allocations: 33.95 MB / 0.9365 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/2.423, allocations: 259.5 kB / 0.9367 GB, free: 126 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.493/4.916, allocations: 3.938 kB / 0.9367 GB, free: 126 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: