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_reverseFlow.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_reverseFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",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.407/1.407, allocations: 251.5 MB / 266.7 MB, free: 11.03 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.001035/0.001035, allocations: 180.9 kB / 325.8 MB, free: 2.668 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.784/1.784, allocations: 205 MB / 0.576 GB, free: 21 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.0007284/0.0007284, allocations: 93.67 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003377, allocations: 9.688 kB / 0.7932 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2143, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.04069/0.2551, allocations: 60.57 MB / 0.9553 GB, free: 7.266 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01535/0.2705, allocations: 11.93 MB / 0.967 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002801/0.2733, allocations: 51.62 kB / 0.967 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002151/0.2755, allocations: 0.5516 MB / 0.9676 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006235/0.2818, allocations: 1.795 MB / 0.9693 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003255/0.285, allocations: 1.093 MB / 0.9704 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005289/0.2903, allocations: 3.9 MB / 0.9742 GB, free: 3.902 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001612/0.292, allocations: 0.9046 MB / 0.9751 GB, free: 2.969 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002593/0.2946, allocations: 1.116 MB / 0.9762 GB, free: 1.848 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.296, allocations: 0.8631 MB / 0.977 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.2962, allocations: 44 kB / 0.9771 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002766/0.2989, allocations: 1.298 MB / 0.9783 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000271/0.2992, allocations: 218.9 kB / 0.9785 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008633/0.3001, allocations: 0.6099 MB / 0.9791 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003358/0.3035, allocations: 2.192 MB / 0.9813 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.3035, allocations: 0 / 0.9813 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3035, allocations: 0 / 0.9813 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.406e-05/0.3035, allocations: 0 / 0.9813 GB, free: 12.61 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002859/0.3064, allocations: 1.501 MB / 0.9827 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.3065, allocations: 16.03 kB / 0.9828 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001539/0.3066, allocations: 119 kB / 0.9829 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002469/0.3091, allocations: 0.5105 MB / 0.9834 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/0.3113, allocations: 1.14 MB / 0.9845 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000356/0.3117, allocations: 133.9 kB / 0.9846 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.3118, allocations: 80 kB / 0.9847 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.314, allocations: 1.033 MB / 0.9857 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.314, allocations: 3.984 kB / 0.9857 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.505e-05/0.3141, allocations: 32 kB / 0.9857 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.3142, allocations: 20 kB / 0.9857 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/0.3168, allocations: 1.015 MB / 0.9867 GB, free: 6.852 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.006671/0.3235, allocations: 4.719 MB / 0.9913 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004111/0.3276, allocations: 1.129 MB / 0.9924 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.3287, allocations: 441.9 kB / 0.9929 GB, free: 220 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/0.3298, allocations: 1.029 MB / 0.9939 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.3299, allocations: 39 kB / 0.9939 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 3.116e-06/0.3299, allocations: 0 / 0.9939 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53): time 0.009783/0.3397, allocations: 2.505 MB / 0.9964 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.3397, allocations: 55.84 kB / 0.9964 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.3411, allocations: 0.9355 MB / 0.9973 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.3413, allocations: 37.7 kB / 0.9974 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004287/0.3417, allocations: 0.504 MB / 0.9979 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.3419, allocations: 197.2 kB / 0.998 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.843e-05/0.342, allocations: 49.7 kB / 0.9981 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3421, allocations: 330 kB / 0.9984 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.3432, allocations: 380.8 kB / 0.9988 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.3444, allocations: 0.539 MB / 0.9993 GB, free: 9.258 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002045/0.3464, allocations: 0.8321 MB / 1 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3464, allocations: 0 / 1 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003003/0.3494, allocations: 1.131 MB / 1.001 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.3496, allocations: 156.4 kB / 1.001 GB, free: 7.062 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.3496, allocations: 4 kB / 1.001 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/0.3509, allocations: 338.9 kB / 1.002 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006235/0.3515, allocations: 143.8 kB / 1.002 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.3531, allocations: 0.927 MB / 1.003 GB, free: 5.633 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.3544, allocations: 183.2 kB / 1.003 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.278e-05/0.3545, allocations: 27.98 kB / 1.003 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.3545, allocations: 4 kB / 1.003 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002666/0.3571, allocations: 0.9975 MB / 1.004 GB, free: 4.422 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3572, allocations: 4 kB / 1.004 GB, free: 4.418 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.3582, allocations: 324.8 kB / 1.004 GB, free: 4.098 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006007/0.3589, allocations: 139.8 kB / 1.004 GB, free: 3.961 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.3602, allocations: 0.93 MB / 1.005 GB, free: 3.008 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.3615, allocations: 179.3 kB / 1.005 GB, free: 2.832 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.59e-05/0.3616, allocations: 31.97 kB / 1.005 GB, free: 2.801 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (54): * Single equations (assignments): 53 * 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.0006364/0.3623, allocations: 345 kB / 1.006 GB, free: 2.453 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.3625, allocations: 110.6 kB / 1.006 GB, free: 2.344 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004413/0.3669, allocations: 1.44 MB / 1.007 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.3669, allocations: 11.98 kB / 1.007 GB, free: 0.8789 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3669, allocations: 0 / 1.007 GB, free: 0.8789 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.3669, allocations: 3.984 kB / 1.007 GB, free: 0.875 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005774/0.3727, allocations: 2.518 MB / 1.01 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.3727, allocations: 0 / 1.01 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/0.3733, allocations: 123.9 kB / 1.01 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.3743, allocations: 320.5 kB / 1.01 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.012e-05/0.3744, allocations: 19.92 kB / 1.01 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.3759, allocations: 0.9766 MB / 1.011 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.3759, allocations: 4.031 kB / 1.011 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004281/0.3802, allocations: 1.452 MB / 1.013 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006028/0.3808, allocations: 279.5 kB / 1.013 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.3809, allocations: 15.98 kB / 1.013 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008878/0.3818, allocations: 123.7 kB / 1.013 GB, free: 10.9 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.3819, allocations: 48.25 kB / 1.013 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-05/0.382, allocations: 27.98 kB / 1.013 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009255/0.3829, allocations: 0.6598 MB / 1.014 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3829, allocations: 0 / 1.014 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001523/0.3845, allocations: 0.5613 MB / 1.014 GB, free: 9.594 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0053/0.3898, allocations: 2.267 MB / 1.016 GB, free: 7.281 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003834/0.3936, allocations: 1.377 MB / 1.018 GB, free: 5.906 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.3937, allocations: 0 / 1.018 GB, free: 5.906 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001257/0.3949, allocations: 496.8 kB / 1.018 GB, free: 5.418 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/0.3977, allocations: 0.5154 MB / 1.019 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01959/0.4173, allocations: 9.069 MB / 1.028 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008348/0.4182, allocations: 1.066 MB / 1.029 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001513/0.4198, allocations: 231.3 kB / 1.029 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006675/0.4204, allocations: 415.3 kB / 1.029 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of SimCode: time 1.182e-06/0.4205, allocations: 0 / 1.029 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4401/0.8606, allocations: 31.7 MB / 1.06 GB, free: 150.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.8608, allocations: 300.4 kB / 1.061 GB, free: 150.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.058/3.918, allocations: 1 kB / 1.061 GB, free: 150.5 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)