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_etaPL.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_etaPL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",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.448/1.448, allocations: 252 MB / 267.3 MB, free: 10.84 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.001065/0.001065, allocations: 178.6 kB / 327 MB, free: 2.098 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.777/1.777, allocations: 205.4 MB / 0.578 GB, free: 20.16 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.0008618/0.0008618, allocations: 85.55 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003761, allocations: 8.5 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.246, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.04863/0.2947, allocations: 59.79 MB / 0.9593 GB, free: 3.395 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01691/0.3117, allocations: 11.79 MB / 0.9708 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002343/0.3141, allocations: 47.69 kB / 0.9709 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001795/0.3159, allocations: 0.5477 MB / 0.9714 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005771/0.3217, allocations: 1.785 MB / 0.9731 GB, free: 5.176 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003248/0.3249, allocations: 1.096 MB / 0.9742 GB, free: 4.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005225/0.3302, allocations: 3.886 MB / 0.978 GB, free: 192 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001517/0.3317, allocations: 0.8941 MB / 0.9789 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002447/0.3342, allocations: 1.124 MB / 0.98 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.3355, allocations: 0.867 MB / 0.9808 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.3356, allocations: 44 kB / 0.9809 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002913/0.3385, allocations: 1.31 MB / 0.9822 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002757/0.3388, allocations: 222.8 kB / 0.9824 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007593/0.3396, allocations: 0.6389 MB / 0.983 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003328/0.3429, allocations: 2.193 MB / 0.9851 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.343, allocations: 7.938 kB / 0.9851 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.134e-06/0.343, allocations: 4 kB / 0.9851 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.425e-05/0.343, allocations: 4 kB / 0.9851 GB, free: 8.824 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003022/0.346, allocations: 1.481 MB / 0.9866 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.3461, allocations: 8.031 kB / 0.9866 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001739/0.3463, allocations: 122.9 kB / 0.9867 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002122/0.3484, allocations: 478.8 kB / 0.9872 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002192/0.3506, allocations: 1.136 MB / 0.9883 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003735/0.351, allocations: 125.9 kB / 0.9884 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.3511, allocations: 83.94 kB / 0.9885 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/0.3532, allocations: 1.011 MB / 0.9895 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.3532, allocations: 0 / 0.9895 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.216e-05/0.3533, allocations: 39.98 kB / 0.9895 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.3533, allocations: 20 kB / 0.9895 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/0.3557, allocations: 0.929 MB / 0.9904 GB, free: 3.242 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.007005/0.3628, allocations: 4.648 MB / 0.995 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003524/0.3663, allocations: 0.9559 MB / 0.9959 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000803/0.3671, allocations: 339.7 kB / 0.9962 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000694/0.3678, allocations: 0.9107 MB / 0.9971 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.3679, allocations: 39 kB / 0.9972 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 3.066e-06/0.3679, allocations: 0 / 0.9972 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.008889/0.3768, allocations: 2.224 MB / 0.9993 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.3769, allocations: 55.84 kB / 0.9994 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.3785, allocations: 1.055 MB / 1 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.271e-05/0.3786, allocations: 37.7 kB / 1 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000453/0.3791, allocations: 0.5197 MB / 1.001 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.3792, allocations: 165.6 kB / 1.001 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.3793, allocations: 15.94 kB / 1.001 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3794, allocations: 326 kB / 1.001 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009257/0.3804, allocations: 340.9 kB / 1.002 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.3815, allocations: 0.5352 MB / 1.002 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/0.3832, allocations: 0.7402 MB / 1.003 GB, free: 5.621 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.3832, allocations: 0 / 1.003 GB, free: 5.621 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002831/0.3861, allocations: 1.077 MB / 1.004 GB, free: 4.535 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001556/0.3863, allocations: 206.8 kB / 1.004 GB, free: 4.285 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3863, allocations: 4 kB / 1.004 GB, free: 4.281 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.3876, allocations: 341.9 kB / 1.005 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005727/0.3882, allocations: 135.8 kB / 1.005 GB, free: 3.812 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.3897, allocations: 0.9413 MB / 1.006 GB, free: 2.848 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.3911, allocations: 207.1 kB / 1.006 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.459e-05/0.3912, allocations: 31.97 kB / 1.006 GB, free: 2.613 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.607e-06/0.3912, allocations: 4 kB / 1.006 GB, free: 2.609 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002548/0.3937, allocations: 0.94 MB / 1.007 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3937, allocations: 4 kB / 1.007 GB, free: 1.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.3949, allocations: 328.9 kB / 1.007 GB, free: 1.336 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/0.3955, allocations: 139.8 kB / 1.007 GB, free: 1.199 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.397, allocations: 0.9347 MB / 1.008 GB, free: 244 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.3983, allocations: 171.4 kB / 1.008 GB, free: 72 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.068e-05/0.3984, allocations: 31.98 kB / 1.008 GB, free: 40 kB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (55): * Single equations (assignments): 54 * 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.0006641/0.399, allocations: 360.8 kB / 1.009 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003011/0.3993, allocations: 106.7 kB / 1.009 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004031/0.4034, allocations: 1.249 MB / 1.01 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.4034, allocations: 7.938 kB / 1.01 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4034, allocations: 0 / 1.01 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.4034, allocations: 3.984 kB / 1.01 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005926/0.4094, allocations: 2.351 MB / 1.012 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.4094, allocations: 0 / 1.012 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/0.4097, allocations: 83.88 kB / 1.012 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001108/0.4109, allocations: 328.9 kB / 1.013 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.252e-05/0.4109, allocations: 15.98 kB / 1.013 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/0.4125, allocations: 0.9761 MB / 1.014 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4125, allocations: 4.062 kB / 1.014 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003992/0.4165, allocations: 1.318 MB / 1.015 GB, free: 9.062 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007506/0.4173, allocations: 291.4 kB / 1.015 GB, free: 8.758 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000267/0.4176, allocations: 15.94 kB / 1.015 GB, free: 8.742 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.4186, allocations: 111.8 kB / 1.015 GB, free: 8.633 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.4188, allocations: 39.31 kB / 1.015 GB, free: 8.598 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.891e-05/0.4189, allocations: 27.98 kB / 1.015 GB, free: 8.57 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00158/0.4205, allocations: 0.7469 MB / 1.016 GB, free: 7.816 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4205, allocations: 0 / 1.016 GB, free: 7.816 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002113/0.4226, allocations: 0.5537 MB / 1.017 GB, free: 7.262 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.005265/0.4279, allocations: 2.132 MB / 1.019 GB, free: 5.082 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003539/0.4314, allocations: 1.233 MB / 1.02 GB, free: 3.852 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.4315, allocations: 0 / 1.02 GB, free: 3.852 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009798/0.4325, allocations: 394.7 kB / 1.02 GB, free: 3.469 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003286/0.4358, allocations: 0.531 MB / 1.021 GB, free: 2.941 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0217/0.4575, allocations: 9.319 MB / 1.03 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008625/0.4584, allocations: 1.07 MB / 1.031 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001289/0.4597, allocations: 234.5 kB / 1.031 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006728/0.4604, allocations: 411.3 kB / 1.032 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of SimCode: time 8.82e-07/0.4604, allocations: 0 / 1.032 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4998/0.9602, allocations: 32.95 MB / 1.064 GB, free: 147.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/0.9605, allocations: 285.7 kB / 1.064 GB, free: 147 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.313/4.273, allocations: 3.375 kB / 1.064 GB, free: 147 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)