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.64/1.64, allocations: 251.5 MB / 266.7 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.001217/0.001217, allocations: 174.4 kB / 325.9 MB, free: 2.66 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.799/1.799, allocations: 205 MB / 0.576 GB, free: 20.96 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.0007746/0.0007747, allocations: 94.97 kB / 0.6797 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003433, allocations: 13.53 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2136, allocations: 105.4 MB / 0.8962 GB, free: 68.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.04231/0.2559, allocations: 60.57 MB / 0.9553 GB, free: 7.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01529/0.2712, allocations: 11.93 MB / 0.967 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002423/0.2737, allocations: 47.69 kB / 0.967 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002105/0.2758, allocations: 0.5516 MB / 0.9676 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.009327/0.2852, allocations: 1.787 MB / 0.9693 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00472/0.2899, allocations: 1.092 MB / 0.9704 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005768/0.2957, allocations: 3.894 MB / 0.9742 GB, free: 3.898 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.2972, allocations: 0.8884 MB / 0.9751 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002531/0.2998, allocations: 1.116 MB / 0.9762 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.3011, allocations: 0.867 MB / 0.977 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.3013, allocations: 44 kB / 0.977 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002704/0.304, allocations: 1.318 MB / 0.9783 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002388/0.3042, allocations: 210.9 kB / 0.9785 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000768/0.305, allocations: 0.6138 MB / 0.9791 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003271/0.3083, allocations: 2.185 MB / 0.9813 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.3083, allocations: 8 kB / 0.9813 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3083, allocations: 0 / 0.9813 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.095e-05/0.3084, allocations: 0 / 0.9813 GB, free: 12.6 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.002971/0.3113, allocations: 1.503 MB / 0.9827 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.3114, allocations: 8.031 kB / 0.9827 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001434/0.3115, allocations: 118.9 kB / 0.9829 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/0.3137, allocations: 478.8 kB / 0.9833 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00221/0.3159, allocations: 1.136 MB / 0.9844 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003551/0.3163, allocations: 125.9 kB / 0.9845 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.3164, allocations: 80 kB / 0.9846 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/0.3185, allocations: 1.011 MB / 0.9856 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.3185, allocations: 4 kB / 0.9856 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.81e-05/0.3186, allocations: 32 kB / 0.9856 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.3187, allocations: 20 kB / 0.9857 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002382/0.321, allocations: 0.929 MB / 0.9866 GB, free: 7.004 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.006869/0.3279, allocations: 4.667 MB / 0.9911 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003611/0.3316, allocations: 0.9467 MB / 0.9921 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007881/0.3324, allocations: 342 kB / 0.9924 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007512/0.3331, allocations: 0.9068 MB / 0.9933 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.3332, allocations: 39 kB / 0.9933 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 3.256e-06/0.3332, allocations: 0 / 0.9933 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.008986/0.3422, allocations: 2.228 MB / 0.9955 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.3423, allocations: 55.84 kB / 0.9955 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001682/0.344, allocations: 1.055 MB / 0.9966 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.263e-05/0.3441, allocations: 41.7 kB / 0.9966 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004455/0.3445, allocations: 0.5158 MB / 0.9971 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.3447, allocations: 169.5 kB / 0.9973 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.907e-05/0.3448, allocations: 53.64 kB / 0.9973 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3449, allocations: 326 kB / 0.9976 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009037/0.3458, allocations: 344.9 kB / 0.998 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.3469, allocations: 0.5352 MB / 0.9985 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/0.3487, allocations: 0.7363 MB / 0.9992 GB, free: 9.332 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.3487, allocations: 0 / 0.9992 GB, free: 9.332 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003861/0.3526, allocations: 1.241 MB / 1 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.3527, allocations: 196.1 kB / 1.001 GB, free: 7.836 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.3528, allocations: 8 kB / 1.001 GB, free: 7.828 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.354, allocations: 341.9 kB / 1.001 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006026/0.3547, allocations: 135.8 kB / 1.001 GB, free: 7.359 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.3562, allocations: 0.9348 MB / 1.002 GB, free: 6.398 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.3576, allocations: 199.2 kB / 1.002 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.232e-05/0.3577, allocations: 27.98 kB / 1.002 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.3577, allocations: 4 kB / 1.002 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003357/0.361, allocations: 1.096 MB / 1.003 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3611, allocations: 4 kB / 1.003 GB, free: 5.066 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.3622, allocations: 321.9 kB / 1.004 GB, free: 4.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005892/0.3628, allocations: 139.8 kB / 1.004 GB, free: 4.613 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.3643, allocations: 0.9453 MB / 1.005 GB, free: 3.645 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.3656, allocations: 171.3 kB / 1.005 GB, free: 3.477 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.487e-05/0.3657, allocations: 31.98 kB / 1.005 GB, free: 3.445 MB / 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.0006292/0.3663, allocations: 349.5 kB / 1.005 GB, free: 3.094 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.3665, allocations: 110.7 kB / 1.005 GB, free: 2.984 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00386/0.3704, allocations: 1.26 MB / 1.006 GB, free: 1.707 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/0.3704, allocations: 11.98 kB / 1.007 GB, free: 1.695 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3704, allocations: 0 / 1.007 GB, free: 1.695 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.3704, allocations: 0 / 1.007 GB, free: 1.695 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005461/0.3759, allocations: 2.359 MB / 1.009 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.376, allocations: 4 kB / 1.009 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000322/0.3763, allocations: 84.16 kB / 1.009 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/0.3774, allocations: 326.9 kB / 1.009 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.096e-05/0.3774, allocations: 16 kB / 1.009 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/0.379, allocations: 0.9736 MB / 1.01 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.379, allocations: 4.031 kB / 1.01 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003911/0.3829, allocations: 1.322 MB / 1.011 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006174/0.3835, allocations: 275.4 kB / 1.012 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.3837, allocations: 12 kB / 1.012 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008766/0.3846, allocations: 115.8 kB / 1.012 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.816e-05/0.3847, allocations: 47.31 kB / 1.012 GB, free: 12 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.413e-05/0.3847, allocations: 23.98 kB / 1.012 GB, free: 11.97 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001211/0.386, allocations: 0.743 MB / 1.013 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.71e-07/0.386, allocations: 3.938 kB / 1.013 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001526/0.3875, allocations: 0.5614 MB / 1.013 GB, free: 10.66 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.004797/0.3923, allocations: 2.125 MB / 1.015 GB, free: 8.48 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003367/0.3957, allocations: 1.229 MB / 1.016 GB, free: 7.25 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.3957, allocations: 0 / 1.016 GB, free: 7.25 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000968/0.3967, allocations: 394.7 kB / 1.017 GB, free: 6.867 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002989/0.3997, allocations: 0.5274 MB / 1.017 GB, free: 6.352 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02277/0.4225, allocations: 9.642 MB / 1.027 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006844/0.4232, allocations: 1.07 MB / 1.028 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001149/0.4244, allocations: 232.8 kB / 1.028 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005606/0.4249, allocations: 411.3 kB / 1.028 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of SimCode: time 9.32e-07/0.4249, allocations: 0 / 1.028 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4411/0.866, allocations: 32.95 MB / 1.061 GB, free: 150.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.8662, allocations: 289.8 kB / 1.061 GB, free: 150.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.212/4.078, allocations: 0 / 1.061 GB, free: 150.4 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)