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.001203/0.001203, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007099/0.007098, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.715/1.715, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005317/0.0005317, allocations: 13.41 kB / 0.6744 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2172, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.06413/0.2814, allocations: 59.79 MB / 0.8464 GB, free: 15.51 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01552/0.2969, allocations: 11.85 MB / 0.858 GB, free: 3.637 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.2989, allocations: 47.69 kB / 0.858 GB, free: 3.59 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.3006, allocations: 0.5438 MB / 0.8585 GB, free: 3.043 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004878/0.3055, allocations: 1.789 MB / 0.8603 GB, free: 1.246 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002818/0.3083, allocations: 1.085 MB / 0.8613 GB, free: 176 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004633/0.3129, allocations: 3.898 MB / 0.8651 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/0.3146, allocations: 0.8981 MB / 0.866 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002574/0.3172, allocations: 1.131 MB / 0.8671 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.3188, allocations: 0.8514 MB / 0.868 GB, free: 9.34 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002613/0.3191, allocations: 44 kB / 0.868 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002907/0.322, allocations: 1.349 MB / 0.8693 GB, free: 7.945 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003634/0.3224, allocations: 226.8 kB / 0.8695 GB, free: 7.723 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.3234, allocations: 0.6389 MB / 0.8702 GB, free: 7.074 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003534/0.327, allocations: 2.216 MB / 0.8723 GB, free: 4.852 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.327, allocations: 3.984 kB / 0.8723 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.994e-06/0.327, allocations: 0 / 0.8723 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.883e-05/0.3271, allocations: 0 / 0.8723 GB, free: 4.848 MB / 0.6856 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.003543/0.3306, allocations: 1.489 MB / 0.8738 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.3307, allocations: 12.03 kB / 0.8738 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002069/0.3309, allocations: 126.9 kB / 0.8739 GB, free: 3.156 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/0.3326, allocations: 382.7 kB / 0.8743 GB, free: 2.781 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/0.3348, allocations: 1.136 MB / 0.8754 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003662/0.3351, allocations: 129.9 kB / 0.8755 GB, free: 1.461 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.3353, allocations: 84 kB / 0.8756 GB, free: 1.379 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.3372, allocations: 0.9605 MB / 0.8765 GB, free: 388 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.3372, allocations: 4 kB / 0.8765 GB, free: 384 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.838e-05/0.3373, allocations: 32 kB / 0.8766 GB, free: 352 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.3373, allocations: 20 kB / 0.8766 GB, free: 332 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002211/0.3396, allocations: 0.8743 MB / 0.8774 GB, free: 15.45 MB / 0.7012 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.00686/0.3464, allocations: 4.524 MB / 0.8819 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.3482, allocations: 0.6339 MB / 0.8825 GB, free: 9.977 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006735/0.3489, allocations: 305 kB / 0.8828 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001493/0.3504, allocations: 1.4 MB / 0.8841 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.3504, allocations: 43 kB / 0.8842 GB, free: 7.93 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 2.474e-06/0.3504, allocations: 0 / 0.8842 GB, free: 7.93 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.008324/0.3588, allocations: 1.912 MB / 0.886 GB, free: 5.988 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.3588, allocations: 59.84 kB / 0.8861 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.3607, allocations: 1.059 MB / 0.8871 GB, free: 4.844 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.913e-05/0.3608, allocations: 33.7 kB / 0.8872 GB, free: 4.805 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004657/0.3613, allocations: 0.5196 MB / 0.8877 GB, free: 4.281 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.3615, allocations: 173.6 kB / 0.8878 GB, free: 4.109 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-05/0.3616, allocations: 49.69 kB / 0.8879 GB, free: 4.055 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.3617, allocations: 322 kB / 0.8882 GB, free: 3.734 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008488/0.3626, allocations: 304.9 kB / 0.8885 GB, free: 3.434 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.3636, allocations: 0.5007 MB / 0.889 GB, free: 2.852 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/0.3652, allocations: 0.6699 MB / 0.8896 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3652, allocations: 0 / 0.8896 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002667/0.3679, allocations: 1.003 MB / 0.8906 GB, free: 1.121 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.368, allocations: 200.3 kB / 0.8908 GB, free: 0.875 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.3681, allocations: 4 kB / 0.8908 GB, free: 0.8711 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/0.3694, allocations: 330.9 kB / 0.8911 GB, free: 0.5469 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004959/0.3699, allocations: 127.8 kB / 0.8912 GB, free: 432 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.3715, allocations: 0.9386 MB / 0.8922 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.3729, allocations: 183.3 kB / 0.8923 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.669e-05/0.373, allocations: 31.98 kB / 0.8924 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.373, allocations: 7.938 kB / 0.8924 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002376/0.3754, allocations: 0.8698 MB / 0.8932 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.3754, allocations: 4 kB / 0.8932 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.3765, allocations: 323.9 kB / 0.8935 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/0.377, allocations: 115.9 kB / 0.8936 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.3786, allocations: 0.9386 MB / 0.8946 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.3798, allocations: 163.3 kB / 0.8947 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.568e-05/0.3799, allocations: 27.98 kB / 0.8947 GB, free: 12.78 MB / 0.7169 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.0005473/0.3804, allocations: 358.6 kB / 0.8951 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.3807, allocations: 110.7 kB / 0.8952 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003933/0.3846, allocations: 1.201 MB / 0.8964 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.3847, allocations: 8 kB / 0.8964 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3847, allocations: 0 / 0.8964 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.3847, allocations: 3.984 kB / 0.8964 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005417/0.3901, allocations: 2.216 MB / 0.8985 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.557e-06/0.3902, allocations: 3.938 kB / 0.8985 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.3904, allocations: 71.89 kB / 0.8986 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/0.3915, allocations: 324.8 kB / 0.8989 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/0.3916, allocations: 19.98 kB / 0.8989 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.3931, allocations: 0.9738 MB / 0.8999 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.3932, allocations: 8 kB / 0.8999 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003717/0.3969, allocations: 1.239 MB / 0.9011 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005736/0.3975, allocations: 283.4 kB / 0.9014 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/0.3977, allocations: 15.94 kB / 0.9014 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009523/0.3987, allocations: 99.81 kB / 0.9015 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.3988, allocations: 43.89 kB / 0.9015 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.004e-05/0.3988, allocations: 23.98 kB / 0.9015 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001328/0.4002, allocations: 0.7469 MB / 0.9023 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4002, allocations: 0 / 0.9023 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00168/0.4019, allocations: 0.5771 MB / 0.9028 GB, free: 4.27 MB / 0.7169 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 (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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004673/0.4065, allocations: 2.078 MB / 0.9049 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002985/0.4095, allocations: 1.104 MB / 0.9059 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4096, allocations: 0 / 0.9059 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008553/0.4104, allocations: 362 kB / 0.9063 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003202/0.4136, allocations: 0.5174 MB / 0.9068 GB, free: 180 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.019/0.4326, allocations: 9.015 MB / 0.9156 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007291/0.4334, allocations: 1.058 MB / 0.9166 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001081/0.4345, allocations: 230.8 kB / 0.9169 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005951/0.4351, allocations: 411.3 kB / 0.9172 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of SimCode: time 9.21e-07/0.4351, allocations: 4 kB / 0.9173 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4277/0.8629, allocations: 33.03 MB / 0.9495 GB, free: 124.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.8631, allocations: 288.9 kB / 0.9498 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.499/3.362, allocations: 1.969 kB / 0.9498 GB, free: 123.8 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/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)