Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",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.001087/0.001087, allocations: 101.4 kB / 15.05 MB, free: 1.105 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.001306/0.001306, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.614/1.614, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005067/0.0005067, allocations: 21.83 kB / 0.6737 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2203, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04996/0.2703, allocations: 51.36 MB / 0.8374 GB, free: 8.391 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01438/0.2847, allocations: 10.23 MB / 0.8474 GB, free: 14.14 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002087/0.2868, allocations: 47.62 kB / 0.8474 GB, free: 14.1 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002328/0.2892, allocations: 0.6258 MB / 0.848 GB, free: 13.47 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007748/0.297, allocations: 1.901 MB / 0.8499 GB, free: 11.56 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004667/0.3016, allocations: 1.323 MB / 0.8512 GB, free: 10.26 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004137/0.3058, allocations: 1.848 MB / 0.853 GB, free: 8.41 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.3075, allocations: 0.7977 MB / 0.8538 GB, free: 7.586 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002591/0.3101, allocations: 0.9926 MB / 0.8547 GB, free: 6.59 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.3112, allocations: 0.6105 MB / 0.8553 GB, free: 5.977 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.3113, allocations: 40 kB / 0.8554 GB, free: 5.938 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.3138, allocations: 1.014 MB / 0.8564 GB, free: 4.922 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.3141, allocations: 191.2 kB / 0.8565 GB, free: 4.734 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004077/0.3145, allocations: 285 kB / 0.8568 GB, free: 4.449 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00233/0.3168, allocations: 1.598 MB / 0.8584 GB, free: 2.852 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3168, allocations: 0 / 0.8584 GB, free: 2.852 MB / 0.67 GB Notification: Performance of FrontEnd: time 4.388e-06/0.3168, allocations: 0 / 0.8584 GB, free: 2.852 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.118e-05/0.3169, allocations: 8 kB / 0.8584 GB, free: 2.844 MB / 0.67 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.003359/0.3203, allocations: 1.493 MB / 0.8598 GB, free: 1.293 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.864e-05/0.3203, allocations: 8.031 kB / 0.8598 GB, free: 1.285 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001779/0.3205, allocations: 126.7 kB / 0.86 GB, free: 1.152 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.3222, allocations: 382 kB / 0.8603 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/0.3242, allocations: 1.055 MB / 0.8614 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003389/0.3245, allocations: 129.9 kB / 0.8615 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.3247, allocations: 84 kB / 0.8616 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.3265, allocations: 0.9566 MB / 0.8625 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.3265, allocations: 7.938 kB / 0.8625 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.446e-05/0.3266, allocations: 28 kB / 0.8625 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.3266, allocations: 20 kB / 0.8625 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/0.3286, allocations: 0.8587 MB / 0.8634 GB, free: 13.55 MB / 0.6856 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.006259/0.3349, allocations: 4.556 MB / 0.8678 GB, free: 8.684 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.3366, allocations: 0.6494 MB / 0.8685 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001335/0.3379, allocations: 1.393 MB / 0.8698 GB, free: 6.34 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.3379, allocations: 39 kB / 0.8699 GB, free: 6.293 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 2.475e-06/0.338, allocations: 0 / 0.8699 GB, free: 6.293 MB / 0.6856 GB Notification: Performance of matching and sorting (n=47): time 0.007329/0.3453, allocations: 1.893 MB / 0.8717 GB, free: 4.367 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.3454, allocations: 55.84 kB / 0.8718 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/0.3471, allocations: 1.071 MB / 0.8728 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.3472, allocations: 37.7 kB / 0.8728 GB, free: 3.172 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004231/0.3476, allocations: 0.5196 MB / 0.8734 GB, free: 2.648 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.3478, allocations: 165.7 kB / 0.8735 GB, free: 2.484 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.3478, allocations: 8 kB / 0.8735 GB, free: 2.477 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3479, allocations: 337.9 kB / 0.8738 GB, free: 2.141 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007475/0.3487, allocations: 292.9 kB / 0.8741 GB, free: 1.855 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00091/0.3496, allocations: 496.8 kB / 0.8746 GB, free: 1.289 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008135/0.3504, allocations: 332.6 kB / 0.8749 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3504, allocations: 0 / 0.8749 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003429/0.3539, allocations: 1.174 MB / 0.8761 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005156/0.3544, allocations: 1.407 MB / 0.8774 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.3544, allocations: 4 kB / 0.8774 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.3556, allocations: 328.5 kB / 0.8778 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004986/0.3562, allocations: 123.8 kB / 0.8779 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.3576, allocations: 0.9328 MB / 0.8788 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.3589, allocations: 187.2 kB / 0.879 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.65e-05/0.359, allocations: 35.91 kB / 0.879 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.359, allocations: 7.953 kB / 0.879 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002984/0.362, allocations: 1.026 MB / 0.88 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3621, allocations: 7.938 kB / 0.88 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.3631, allocations: 324.9 kB / 0.8803 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/0.3636, allocations: 119.9 kB / 0.8804 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.365, allocations: 0.9342 MB / 0.8813 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.3663, allocations: 159.3 kB / 0.8815 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.035e-05/0.3663, allocations: 35.98 kB / 0.8815 GB, free: 10.01 MB / 0.7012 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 (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.0005996/0.367, allocations: 351.2 kB / 0.8819 GB, free: 9.66 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.3672, allocations: 110.6 kB / 0.882 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003616/0.3708, allocations: 1.204 MB / 0.8832 GB, free: 8.34 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.3708, allocations: 4 kB / 0.8832 GB, free: 8.336 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.3708, allocations: 0 / 0.8832 GB, free: 8.336 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.3708, allocations: 3.984 kB / 0.8832 GB, free: 8.332 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005061/0.3759, allocations: 2.22 MB / 0.8853 GB, free: 6.027 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.376, allocations: 4 kB / 0.8853 GB, free: 6.023 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.3762, allocations: 63.91 kB / 0.8854 GB, free: 5.961 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.3773, allocations: 340.7 kB / 0.8857 GB, free: 5.625 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-05/0.3774, allocations: 19.92 kB / 0.8857 GB, free: 5.605 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/0.3789, allocations: 0.9612 MB / 0.8867 GB, free: 4.621 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3789, allocations: 8 kB / 0.8867 GB, free: 4.613 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003503/0.3824, allocations: 1.35 MB / 0.888 GB, free: 3.172 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006249/0.383, allocations: 287.4 kB / 0.8883 GB, free: 2.871 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.3832, allocations: 19.95 kB / 0.8883 GB, free: 2.852 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008092/0.384, allocations: 103.8 kB / 0.8884 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.026e-05/0.3841, allocations: 43.88 kB / 0.8884 GB, free: 2.707 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-05/0.3841, allocations: 23.98 kB / 0.8885 GB, free: 2.684 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001136/0.3853, allocations: 0.7508 MB / 0.8892 GB, free: 1.926 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3853, allocations: 0 / 0.8892 GB, free: 1.926 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001527/0.3868, allocations: 0.5731 MB / 0.8897 GB, free: 1.352 MB / 0.7012 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 (37): * Single equations (assignments): 32 * 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.004675/0.3915, allocations: 2.803 MB / 0.8925 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00284/0.3944, allocations: 1.093 MB / 0.8936 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.3944, allocations: 0 / 0.8936 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008124/0.3952, allocations: 362 kB / 0.8939 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/0.3978, allocations: 0.5175 MB / 0.8944 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005525/0.4033, allocations: 5.215 MB / 0.8995 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005967/0.404, allocations: 1.082 MB / 0.9006 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009846/0.405, allocations: 238.3 kB / 0.9008 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004923/0.4055, allocations: 411.3 kB / 0.9012 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of SimCode: time 1.001e-06/0.4055, allocations: 0 / 0.9012 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.772/2.178, allocations: 33.89 MB / 0.9343 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003614/2.178, allocations: 262.6 kB / 0.9345 GB, free: 131.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/4.515, allocations: 1.281 kB / 0.9345 GB, free: 131.4 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) Environment - environmentSimulation: