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.385/1.385, allocations: 251.9 MB / 266.9 MB, free: 11 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.001386/0.001386, allocations: 182.4 kB / 326.5 MB, free: 2.25 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.783/1.783, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009454/0.0009453, allocations: 91.69 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004047, allocations: 8.625 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.238, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.039/0.277, allocations: 51.39 MB / 0.9503 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01272/0.2898, allocations: 10.23 MB / 0.9603 GB, free: 2.105 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002215/0.2921, allocations: 47.62 kB / 0.9604 GB, free: 2.059 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002065/0.2941, allocations: 0.6257 MB / 0.961 GB, free: 1.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006221/0.3004, allocations: 1.907 MB / 0.9628 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003865/0.3043, allocations: 1.247 MB / 0.9641 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004445/0.3087, allocations: 1.851 MB / 0.9659 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.3102, allocations: 0.8147 MB / 0.9667 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002512/0.3127, allocations: 0.9808 MB / 0.9676 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.3138, allocations: 0.6183 MB / 0.9682 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.3139, allocations: 48 kB / 0.9683 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00245/0.3163, allocations: 0.9751 MB / 0.9692 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002101/0.3166, allocations: 199.1 kB / 0.9694 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003738/0.317, allocations: 285 kB / 0.9697 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.3193, allocations: 1.586 MB / 0.9712 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3193, allocations: 0 / 0.9712 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.396e-06/0.3194, allocations: 0 / 0.9712 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.993e-05/0.3194, allocations: 0 / 0.9712 GB, free: 6.895 MB / 0.6198 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.003485/0.3229, allocations: 1.524 MB / 0.9727 GB, free: 5.312 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.3229, allocations: 8.031 kB / 0.9727 GB, free: 5.305 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001508/0.3231, allocations: 122.8 kB / 0.9728 GB, free: 5.176 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002116/0.3252, allocations: 481.8 kB / 0.9733 GB, free: 4.703 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/0.3272, allocations: 1.055 MB / 0.9743 GB, free: 3.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003505/0.3276, allocations: 129.9 kB / 0.9745 GB, free: 3.465 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.3277, allocations: 80 kB / 0.9745 GB, free: 3.387 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.3297, allocations: 1.019 MB / 0.9755 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.3298, allocations: 4 kB / 0.9755 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.842e-05/0.3299, allocations: 31.94 kB / 0.9756 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.3299, allocations: 23.95 kB / 0.9756 GB, free: 2.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/0.3323, allocations: 0.968 MB / 0.9765 GB, free: 1.301 MB / 0.6198 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.006629/0.339, allocations: 4.689 MB / 0.9811 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00359/0.3426, allocations: 0.954 MB / 0.982 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000629/0.3432, allocations: 0.9067 MB / 0.9829 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.3433, allocations: 39 kB / 0.983 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 2.775e-06/0.3433, allocations: 0 / 0.983 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.00907/0.3524, allocations: 2.26 MB / 0.9852 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.3525, allocations: 55.84 kB / 0.9852 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.3541, allocations: 1.079 MB / 0.9863 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-05/0.3542, allocations: 37.7 kB / 0.9863 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004457/0.3547, allocations: 0.5236 MB / 0.9868 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.3549, allocations: 169.6 kB / 0.987 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.3549, allocations: 8 kB / 0.987 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.355, allocations: 330 kB / 0.9873 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009721/0.356, allocations: 352.9 kB / 0.9876 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.3571, allocations: 0.5492 MB / 0.9882 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009947/0.3581, allocations: 388.4 kB / 0.9885 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.3582, allocations: 4 kB / 0.9886 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00298/0.3611, allocations: 1.108 MB / 0.9896 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006397/0.3618, allocations: 1.495 MB / 0.9911 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.3618, allocations: 7.953 kB / 0.9911 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.3631, allocations: 329.6 kB / 0.9914 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006276/0.3638, allocations: 143.8 kB / 0.9916 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.3653, allocations: 0.9482 MB / 0.9925 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.3668, allocations: 195.4 kB / 0.9927 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-05/0.3669, allocations: 35.98 kB / 0.9927 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.3669, allocations: 4 kB / 0.9927 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002591/0.3695, allocations: 0.9753 MB / 0.9937 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.3695, allocations: 7.953 kB / 0.9937 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.3706, allocations: 324.7 kB / 0.994 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005608/0.3712, allocations: 143.8 kB / 0.9941 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.3726, allocations: 0.9364 MB / 0.995 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.374, allocations: 179.3 kB / 0.9952 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.087e-05/0.3741, allocations: 27.98 kB / 0.9952 GB, free: 13.28 MB / 0.6511 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.0006768/0.3748, allocations: 367.1 kB / 0.9956 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.375, allocations: 118.5 kB / 0.9957 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00412/0.3791, allocations: 1.305 MB / 0.997 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.3791, allocations: 4 kB / 0.997 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.3792, allocations: 0 / 0.997 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.3792, allocations: 3.984 kB / 0.997 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005636/0.3848, allocations: 2.406 MB / 0.9993 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/0.3848, allocations: 4 kB / 0.9993 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/0.3852, allocations: 79.88 kB / 0.9994 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009885/0.3862, allocations: 328.7 kB / 0.9997 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.3862, allocations: 19.94 kB / 0.9997 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.3877, allocations: 0.9722 MB / 1.001 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3877, allocations: 0 / 1.001 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004003/0.3917, allocations: 1.464 MB / 1.002 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006473/0.3924, allocations: 299.4 kB / 1.002 GB, free: 5.695 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.3926, allocations: 8 kB / 1.002 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.3936, allocations: 123.8 kB / 1.003 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.3937, allocations: 47.28 kB / 1.003 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.2e-05/0.3938, allocations: 27.98 kB / 1.003 GB, free: 5.496 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001313/0.3951, allocations: 0.7509 MB / 1.003 GB, free: 4.738 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3951, allocations: 0 / 1.003 GB, free: 4.738 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001599/0.3967, allocations: 0.5653 MB / 1.004 GB, free: 4.172 MB / 0.6511 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.005409/0.4022, allocations: 2.882 MB / 1.007 GB, free: 1.199 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003688/0.4059, allocations: 1.272 MB / 1.008 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.4059, allocations: 3.984 kB / 1.008 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.407, allocations: 418.9 kB / 1.008 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/0.4098, allocations: 0.5228 MB / 1.009 GB, free: 15 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008751/0.4186, allocations: 5.69 MB / 1.014 GB, free: 9.16 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008861/0.4195, allocations: 1.09 MB / 1.015 GB, free: 8.039 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00126/0.4208, allocations: 238.6 kB / 1.016 GB, free: 7.809 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006284/0.4214, allocations: 415.3 kB / 1.016 GB, free: 7.402 MB / 0.6667 GB Notification: Performance of SimCode: time 9.51e-07/0.4214, allocations: 0 / 1.016 GB, free: 7.402 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07232/0.4938, allocations: 33.89 MB / 1.049 GB, free: 5.902 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.494, allocations: 280.8 kB / 1.049 GB, free: 5.535 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.857/3.351, allocations: 0 / 1.049 GB, free: 5.535 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)