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.437/1.437, allocations: 252 MB / 267 MB, free: 10.94 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.001158/0.001158, allocations: 180.1 kB / 326.6 MB, free: 2.219 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.952/1.952, allocations: 205.4 MB / 0.5776 GB, free: 20.28 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.0008355/0.0008355, allocations: 93.95 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003333, allocations: 9.438 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2375, allocations: 106.3 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05003/0.2876, allocations: 56.6 MB / 0.9556 GB, free: 7.078 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01637/0.304, allocations: 11.1 MB / 0.9664 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002656/0.3067, allocations: 55.62 kB / 0.9665 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002129/0.3089, allocations: 464.8 kB / 0.9669 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006301/0.3152, allocations: 1.518 MB / 0.9684 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003405/0.3186, allocations: 0.8896 MB / 0.9693 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005368/0.324, allocations: 3.39 MB / 0.9726 GB, free: 5.637 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.3257, allocations: 0.795 MB / 0.9733 GB, free: 4.816 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002883/0.3286, allocations: 1.042 MB / 0.9744 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002286/0.3309, allocations: 0.8244 MB / 0.9752 GB, free: 2.941 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004906/0.3314, allocations: 44 kB / 0.9752 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003494/0.3349, allocations: 1.08 MB / 0.9763 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005047/0.3355, allocations: 199 kB / 0.9765 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008149/0.3363, allocations: 289 kB / 0.9767 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003126/0.3394, allocations: 1.645 MB / 0.9783 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.3395, allocations: 0 / 0.9783 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3395, allocations: 4 kB / 0.9783 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.691e-05/0.3396, allocations: 4 kB / 0.9783 GB, free: 15.68 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.003809/0.3434, allocations: 1.524 MB / 0.9798 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.3434, allocations: 8.031 kB / 0.9798 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002443/0.3437, allocations: 126.8 kB / 0.98 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002307/0.346, allocations: 481.8 kB / 0.9804 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002538/0.3486, allocations: 1.098 MB / 0.9815 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003915/0.349, allocations: 129.9 kB / 0.9816 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.3492, allocations: 80 kB / 0.9817 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/0.3518, allocations: 1.023 MB / 0.9827 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.3518, allocations: 0 / 0.9827 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.872e-05/0.3519, allocations: 32 kB / 0.9827 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.3519, allocations: 19.95 kB / 0.9827 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002713/0.3547, allocations: 0.9719 MB / 0.9837 GB, free: 10.04 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.007909/0.3626, allocations: 4.674 MB / 0.9883 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003723/0.3663, allocations: 0.9422 MB / 0.9892 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008995/0.3673, allocations: 360.1 kB / 0.9895 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007393/0.368, allocations: 0.9068 MB / 0.9904 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.3681, allocations: 35 kB / 0.9904 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 2.745e-06/0.3681, allocations: 8 kB / 0.9904 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.009607/0.3777, allocations: 2.26 MB / 0.9926 GB, free: 296 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.3778, allocations: 59.84 kB / 0.9927 GB, free: 224 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001815/0.3796, allocations: 1.052 MB / 0.9937 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001238/0.3797, allocations: 37.7 kB / 0.9938 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004619/0.3802, allocations: 0.5275 MB / 0.9943 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.3804, allocations: 161.5 kB / 0.9944 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.3804, allocations: 20 kB / 0.9945 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3806, allocations: 326 kB / 0.9948 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.3816, allocations: 352.9 kB / 0.9951 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.3828, allocations: 0.5569 MB / 0.9956 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.3839, allocations: 392.5 kB / 0.996 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.3839, allocations: 4 kB / 0.996 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003091/0.387, allocations: 1.108 MB / 0.9971 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001652/0.3872, allocations: 201.3 kB / 0.9973 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.3872, allocations: 4 kB / 0.9973 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.3887, allocations: 329.7 kB / 0.9976 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006509/0.3893, allocations: 143.8 kB / 0.9978 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/0.391, allocations: 0.944 MB / 0.9987 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.3926, allocations: 203.2 kB / 0.9989 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.813e-05/0.3927, allocations: 27.98 kB / 0.9989 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3927, allocations: 7.953 kB / 0.9989 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002834/0.3956, allocations: 0.9792 MB / 0.9999 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3956, allocations: 4 kB / 0.9999 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.3968, allocations: 316.8 kB / 1 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006201/0.3974, allocations: 147.8 kB / 1 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.3989, allocations: 0.9377 MB / 1.001 GB, free: 7.254 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.4004, allocations: 183.2 kB / 1.001 GB, free: 7.074 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.299e-05/0.4005, allocations: 31.98 kB / 1.001 GB, free: 7.043 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.0007037/0.4012, allocations: 356.9 kB / 1.002 GB, free: 6.684 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003368/0.4016, allocations: 114.5 kB / 1.002 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004552/0.4061, allocations: 1.309 MB / 1.003 GB, free: 5.25 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/0.4062, allocations: 8 kB / 1.003 GB, free: 5.242 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.4062, allocations: 0 / 1.003 GB, free: 5.242 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.4062, allocations: 3.984 kB / 1.003 GB, free: 5.238 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006653/0.4129, allocations: 2.378 MB / 1.005 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.4129, allocations: 4 kB / 1.005 GB, free: 2.773 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.4133, allocations: 91.81 kB / 1.006 GB, free: 2.684 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/0.4145, allocations: 320.7 kB / 1.006 GB, free: 2.367 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.06e-05/0.4146, allocations: 15.98 kB / 1.006 GB, free: 2.352 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/0.4163, allocations: 0.9724 MB / 1.007 GB, free: 1.355 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/0.4163, allocations: 4 kB / 1.007 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004491/0.4208, allocations: 1.353 MB / 1.008 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008672/0.4217, allocations: 283.4 kB / 1.008 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003367/0.4221, allocations: 15.98 kB / 1.008 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.4234, allocations: 123.7 kB / 1.009 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.4235, allocations: 47.31 kB / 1.009 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.142e-05/0.4236, allocations: 27.94 kB / 1.009 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001643/0.4253, allocations: 0.7431 MB / 1.009 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4253, allocations: 3.938 kB / 1.009 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002138/0.4274, allocations: 0.5575 MB / 1.01 GB, free: 14.14 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 (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.005091/0.4325, allocations: 2.141 MB / 1.012 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003754/0.4363, allocations: 1.276 MB / 1.013 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.4363, allocations: 0 / 1.013 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.4374, allocations: 426.8 kB / 1.014 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003079/0.4405, allocations: 0.5263 MB / 1.014 GB, free: 9.727 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/0.4588, allocations: 7.049 MB / 1.021 GB, free: 2.359 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006947/0.4595, allocations: 1.07 MB / 1.022 GB, free: 1.254 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001198/0.4608, allocations: 234.6 kB / 1.022 GB, free: 1.027 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005487/0.4613, allocations: 415.3 kB / 1.023 GB, free: 0.625 MB / 0.6667 GB Notification: Performance of SimCode: time 9.21e-07/0.4613, allocations: 0 / 1.023 GB, free: 0.625 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4703/0.9316, allocations: 34.17 MB / 1.056 GB, free: 143.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/0.9319, allocations: 283.2 kB / 1.056 GB, free: 143.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.09/4.022, allocations: 0 / 1.056 GB, free: 143.6 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)