Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Examples.Carnot_TCon,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon",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.007205/0.007205, allocations: 101.1 kB / 15.73 MB, free: 5.992 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.001706/0.001706, allocations: 194.5 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.346/2.346, allocations: 390.2 MB / 0.6648 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 59.81 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2432, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05838/0.3016, allocations: 61.2 MB / 1.147 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01554/0.3172, allocations: 12 MB / 1.159 GB, free: 8.59 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.3189, allocations: 63.62 kB / 1.159 GB, free: 8.527 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001706/0.3206, allocations: 0.6713 MB / 1.16 GB, free: 7.852 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004871/0.3255, allocations: 1.96 MB / 1.162 GB, free: 5.883 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002853/0.3284, allocations: 1.203 MB / 1.163 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003623/0.332, allocations: 3.083 MB / 1.166 GB, free: 1.594 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.3335, allocations: 1.103 MB / 1.167 GB, free: 476 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002761/0.3362, allocations: 1.335 MB / 1.168 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.3375, allocations: 0.8906 MB / 1.169 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001841/0.3377, allocations: 116 kB / 1.169 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002587/0.3403, allocations: 1.439 MB / 1.171 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003038/0.3406, allocations: 290.9 kB / 1.171 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008007/0.3414, allocations: 0.6958 MB / 1.171 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003306/0.3448, allocations: 2.291 MB / 1.174 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3448, allocations: 0 / 1.174 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3448, allocations: 0 / 1.174 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.891e-05/0.3448, allocations: 0 / 1.174 GB, free: 9.398 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002888/0.3477, allocations: 1.726 MB / 1.175 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3477, allocations: 8.031 kB / 1.175 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001409/0.3479, allocations: 122.9 kB / 1.176 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002263/0.3502, allocations: 414.5 kB / 1.176 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002252/0.3524, allocations: 1.147 MB / 1.177 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.605e-05/0.3525, allocations: 66 kB / 1.177 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.3526, allocations: 80 kB / 1.177 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/0.3547, allocations: 1.013 MB / 1.178 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.3547, allocations: 3.938 kB / 1.178 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-05/0.3548, allocations: 32 kB / 1.178 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.3548, allocations: 20 kB / 1.178 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/0.3571, allocations: 0.8585 MB / 1.179 GB, free: 3.73 MB / 0.9356 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.006685/0.3638, allocations: 5.219 MB / 1.184 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003466/0.3673, allocations: 0.7853 MB / 1.185 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007362/0.368, allocations: 300.5 kB / 1.185 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006532/0.3687, allocations: 0.9141 MB / 1.186 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.3687, allocations: 34.56 kB / 1.186 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=43): time 2.776e-06/0.3688, allocations: 4 kB / 1.186 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=43): time 0.008713/0.3775, allocations: 1.845 MB / 1.188 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.3775, allocations: 59.34 kB / 1.188 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.3793, allocations: 1.072 MB / 1.189 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.005e-05/0.3794, allocations: 37.7 kB / 1.189 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004168/0.3798, allocations: 0.5389 MB / 1.19 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.3799, allocations: 153.8 kB / 1.19 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.3802, allocations: 134.2 kB / 1.19 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3803, allocations: 333.9 kB / 1.19 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009159/0.3812, allocations: 307.3 kB / 1.191 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.3823, allocations: 0.5307 MB / 1.191 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.384, allocations: 0.7215 MB / 1.192 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.384, allocations: 0 / 1.192 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002785/0.3868, allocations: 1.012 MB / 1.193 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.3869, allocations: 8 kB / 1.193 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.3869, allocations: 4 kB / 1.193 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.3882, allocations: 296.7 kB / 1.193 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/0.3888, allocations: 131.8 kB / 1.193 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.3903, allocations: 0.914 MB / 1.194 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.3915, allocations: 151.2 kB / 1.194 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-05/0.3916, allocations: 31.98 kB / 1.194 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001243/0.3929, allocations: 0.5129 MB / 1.195 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001062/0.3939, allocations: 0.5267 MB / 1.195 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001667/0.3956, allocations: 0.7178 MB / 1.196 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.166e-06/0.3956, allocations: 3.938 kB / 1.196 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002755/0.3984, allocations: 1.008 MB / 1.197 GB, free: 404 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3984, allocations: 8 kB / 1.197 GB, free: 396 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.3984, allocations: 4 kB / 1.197 GB, free: 392 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.3995, allocations: 292.7 kB / 1.197 GB, free: 96 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005756/0.4001, allocations: 127.9 kB / 1.197 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.4015, allocations: 0.8918 MB / 1.198 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.4028, allocations: 135.6 kB / 1.198 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.321e-05/0.4029, allocations: 39.91 kB / 1.198 GB, free: 14.88 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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.0002192/0.4031, allocations: 220.1 kB / 1.199 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.4033, allocations: 114.7 kB / 1.199 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003924/0.4072, allocations: 1.086 MB / 1.2 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.4073, allocations: 11.94 kB / 1.2 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.4073, allocations: 0 / 1.2 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.4073, allocations: 0 / 1.2 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005314/0.4126, allocations: 2.142 MB / 1.202 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.4127, allocations: 4 kB / 1.202 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/0.413, allocations: 76 kB / 1.202 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.414, allocations: 279.3 kB / 1.202 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.464e-05/0.414, allocations: 19.98 kB / 1.202 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.4155, allocations: 0.9306 MB / 1.203 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.4155, allocations: 4.031 kB / 1.203 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003779/0.4193, allocations: 1.152 MB / 1.204 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005011/0.4198, allocations: 263.6 kB / 1.204 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.42, allocations: 8 kB / 1.205 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008557/0.4209, allocations: 67.92 kB / 1.205 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.421, allocations: 43.81 kB / 1.205 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-05/0.421, allocations: 23.98 kB / 1.205 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001211/0.4223, allocations: 0.7551 MB / 1.205 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4223, allocations: 0 / 1.205 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001564/0.4238, allocations: 0.5692 MB / 1.206 GB, free: 6.922 MB / 0.9669 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 (33): * Single equations (assignments): 28 * 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.004622/0.4285, allocations: 1.973 MB / 1.208 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003398/0.4319, allocations: 1.117 MB / 1.209 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.4319, allocations: 0 / 1.209 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009471/0.4329, allocations: 350.6 kB / 1.209 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/0.4355, allocations: 0.5013 MB / 1.21 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/0.4515, allocations: 8.249 MB / 1.218 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005813/0.4522, allocations: 1.061 MB / 1.219 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008778/0.453, allocations: 236.6 kB / 1.219 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005664/0.4536, allocations: 411.3 kB / 1.219 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of SimCode: time 7.12e-07/0.4536, allocations: 0 / 1.219 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06101/0.5146, allocations: 33.55 MB / 1.252 GB, free: 7.461 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/16.15, allocations: 11.72 kB / 1.252 GB, free: 7.449 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)