Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.506/1.506, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 181.5 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.864/1.864, allocations: 205.4 MB / 0.578 GB, free: 20.06 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008716/0.0008716, allocations: 91.84 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003685, allocations: 9.812 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2407, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05221/0.2929, allocations: 59.83 MB / 0.9593 GB, free: 3.363 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01828/0.3113, allocations: 11.8 MB / 0.9709 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002773/0.3141, allocations: 51.62 kB / 0.9709 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002442/0.3166, allocations: 0.5438 MB / 0.9715 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006713/0.3233, allocations: 1.8 MB / 0.9732 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003865/0.3272, allocations: 1.096 MB / 0.9743 GB, free: 4.035 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005691/0.3329, allocations: 3.907 MB / 0.9781 GB, free: 116 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002059/0.335, allocations: 0.9032 MB / 0.979 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003044/0.3381, allocations: 1.128 MB / 0.9801 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001845/0.34, allocations: 0.8748 MB / 0.9809 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002073/0.3402, allocations: 44 kB / 0.981 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00313/0.3433, allocations: 1.298 MB / 0.9822 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003196/0.3437, allocations: 226.8 kB / 0.9825 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.3447, allocations: 0.6349 MB / 0.9831 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003792/0.3485, allocations: 2.196 MB / 0.9852 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3485, allocations: 0 / 0.9852 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.705e-06/0.3485, allocations: 4 kB / 0.9852 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.736e-05/0.3486, allocations: 0 / 0.9852 GB, free: 8.754 MB / 0.6355 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.00327/0.3519, allocations: 1.515 MB / 0.9867 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.357e-05/0.3519, allocations: 16.02 kB / 0.9867 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001889/0.3521, allocations: 122.9 kB / 0.9868 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002215/0.3544, allocations: 478.8 kB / 0.9873 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/0.3568, allocations: 1.144 MB / 0.9884 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/0.3572, allocations: 129.9 kB / 0.9885 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.3573, allocations: 84 kB / 0.9886 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/0.3595, allocations: 1.023 MB / 0.9896 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.3596, allocations: 4 kB / 0.9896 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.898e-05/0.3597, allocations: 35.98 kB / 0.9897 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.3597, allocations: 19.94 kB / 0.9897 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00255/0.3623, allocations: 0.9719 MB / 0.9906 GB, free: 3.066 MB / 0.6355 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.006923/0.3692, allocations: 4.673 MB / 0.9952 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003621/0.3728, allocations: 0.9462 MB / 0.9961 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008772/0.3737, allocations: 361.9 kB / 0.9965 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007219/0.3745, allocations: 0.9068 MB / 0.9973 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.3745, allocations: 38.94 kB / 0.9974 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 2.645e-06/0.3745, allocations: 0 / 0.9974 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.009381/0.3839, allocations: 2.275 MB / 0.9996 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.384, allocations: 55.84 kB / 0.9997 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/0.3862, allocations: 1.072 MB / 1.001 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.3863, allocations: 37.7 kB / 1.001 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005376/0.3869, allocations: 0.5236 MB / 1.001 GB, free: 7.578 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.3871, allocations: 169.5 kB / 1.001 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.3872, allocations: 12 kB / 1.001 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3873, allocations: 326 kB / 1.002 GB, free: 7.074 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.3884, allocations: 360.9 kB / 1.002 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.3896, allocations: 0.5609 MB / 1.003 GB, free: 6.078 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/0.3916, allocations: 0.7762 MB / 1.003 GB, free: 5.25 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.3916, allocations: 0 / 1.003 GB, free: 5.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003356/0.395, allocations: 1.124 MB / 1.004 GB, free: 4.117 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.3952, allocations: 205.3 kB / 1.005 GB, free: 3.863 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.3952, allocations: 4 kB / 1.005 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/0.3966, allocations: 339.6 kB / 1.005 GB, free: 3.527 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006454/0.3973, allocations: 147.8 kB / 1.005 GB, free: 3.383 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/0.399, allocations: 0.9348 MB / 1.006 GB, free: 2.422 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.4007, allocations: 203.2 kB / 1.006 GB, free: 2.223 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.4009, allocations: 35.97 kB / 1.006 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.4009, allocations: 4 kB / 1.006 GB, free: 2.184 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003005/0.4039, allocations: 0.979 MB / 1.007 GB, free: 1.199 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.4039, allocations: 4 kB / 1.007 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/0.4052, allocations: 324.9 kB / 1.008 GB, free: 0.875 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006362/0.4058, allocations: 143.8 kB / 1.008 GB, free: 0.7344 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/0.4075, allocations: 0.9415 MB / 1.009 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.4091, allocations: 183.3 kB / 1.009 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.4092, allocations: 27.98 kB / 1.009 GB, free: 15.56 MB / 0.6667 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 (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.0008029/0.4101, allocations: 357 kB / 1.009 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004336/0.4105, allocations: 110.7 kB / 1.009 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004473/0.415, allocations: 1.303 MB / 1.011 GB, free: 13.78 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.251e-05/0.415, allocations: 12 kB / 1.011 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.415, allocations: 3.938 kB / 1.011 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.4151, allocations: 7.969 kB / 1.011 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006384/0.4214, allocations: 2.39 MB / 1.013 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/0.4215, allocations: 4 kB / 1.013 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003762/0.4219, allocations: 87.88 kB / 1.013 GB, free: 11.19 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/0.423, allocations: 327.5 kB / 1.013 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.098e-05/0.4231, allocations: 15.98 kB / 1.013 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.4247, allocations: 0.9659 MB / 1.014 GB, free: 9.863 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.4247, allocations: 7.969 kB / 1.014 GB, free: 9.855 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004234/0.4289, allocations: 1.353 MB / 1.016 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.43, allocations: 287.4 kB / 1.016 GB, free: 8.152 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004412/0.4305, allocations: 15.94 kB / 1.016 GB, free: 8.137 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.4319, allocations: 127.7 kB / 1.016 GB, free: 8.012 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.432, allocations: 43.27 kB / 1.016 GB, free: 7.973 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-05/0.4321, allocations: 23.98 kB / 1.016 GB, free: 7.949 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001867/0.434, allocations: 0.7549 MB / 1.017 GB, free: 7.188 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.2e-07/0.434, allocations: 0 / 1.017 GB, free: 7.188 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002368/0.4364, allocations: 0.5575 MB / 1.017 GB, free: 6.629 MB / 0.6667 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 (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.005486/0.4419, allocations: 2.161 MB / 1.019 GB, free: 4.418 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003821/0.4457, allocations: 1.292 MB / 1.021 GB, free: 3.129 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.4458, allocations: 0 / 1.021 GB, free: 3.129 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.4469, allocations: 414.8 kB / 1.021 GB, free: 2.723 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003564/0.4505, allocations: 0.5311 MB / 1.022 GB, free: 2.199 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02384/0.4743, allocations: 9.651 MB / 1.031 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008672/0.4753, allocations: 1.07 MB / 1.032 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001315/0.4766, allocations: 230.2 kB / 1.032 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007218/0.4773, allocations: 427.3 kB / 1.033 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of SimCode: time 1.232e-06/0.4773, allocations: 0 / 1.033 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5238/1.001, allocations: 33.02 MB / 1.065 GB, free: 146.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/1.001, allocations: 293 kB / 1.065 GB, free: 146.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.411/4.413, allocations: 5.375 kB / 1.065 GB, free: 146.2 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)