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.586/1.586, allocations: 251.9 MB / 266.9 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.001084/0.001085, allocations: 183.5 kB / 326.5 MB, free: 2.238 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.4 MB / 0.5775 GB, free: 20.26 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.0009942/0.0009941, allocations: 87.7 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003578, allocations: 13.69 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1918, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.03605/0.2279, allocations: 51.34 MB / 0.9503 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01173/0.2397, allocations: 10.21 MB / 0.9603 GB, free: 2.148 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002199/0.2419, allocations: 43.69 kB / 0.9603 GB, free: 2.105 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002059/0.244, allocations: 0.6335 MB / 0.9609 GB, free: 1.469 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005103/0.2491, allocations: 1.901 MB / 0.9628 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003473/0.2526, allocations: 1.242 MB / 0.964 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003504/0.2561, allocations: 1.847 MB / 0.9658 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.2576, allocations: 0.8225 MB / 0.9666 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002069/0.2597, allocations: 0.9769 MB / 0.9675 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.2609, allocations: 0.6222 MB / 0.9682 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.261, allocations: 44 kB / 0.9682 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002328/0.2634, allocations: 0.9751 MB / 0.9692 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002163/0.2636, allocations: 203.1 kB / 0.9693 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003834/0.264, allocations: 281 kB / 0.9696 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002427/0.2664, allocations: 1.582 MB / 0.9712 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2665, allocations: 0 / 0.9712 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.335e-06/0.2665, allocations: 4 kB / 0.9712 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.096e-05/0.2665, allocations: 0 / 0.9712 GB, free: 6.945 MB / 0.6198 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.003171/0.2697, allocations: 1.493 MB / 0.9726 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.2698, allocations: 8.031 kB / 0.9726 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001839/0.2699, allocations: 126.8 kB / 0.9727 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002533/0.2725, allocations: 0.5212 MB / 0.9733 GB, free: 4.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/0.2746, allocations: 1.055 MB / 0.9743 GB, free: 3.617 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003648/0.275, allocations: 129.9 kB / 0.9744 GB, free: 3.492 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.2752, allocations: 80 kB / 0.9745 GB, free: 3.414 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/0.2775, allocations: 1.025 MB / 0.9755 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.2775, allocations: 0 / 0.9755 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.814e-05/0.2776, allocations: 39.94 kB / 0.9755 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.2776, allocations: 23.95 kB / 0.9755 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002658/0.2803, allocations: 1.011 MB / 0.9765 GB, free: 1.281 MB / 0.6198 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.007079/0.2874, allocations: 4.731 MB / 0.9812 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004116/0.2915, allocations: 1.128 MB / 0.9823 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009542/0.2925, allocations: 1.029 MB / 0.9833 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.2926, allocations: 39 kB / 0.9833 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=53): time 3.968e-06/0.2926, allocations: 7.984 kB / 0.9833 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53): time 0.009967/0.3025, allocations: 2.486 MB / 0.9857 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.3026, allocations: 59.84 kB / 0.9858 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.3039, allocations: 0.9432 MB / 0.9867 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.3041, allocations: 37.7 kB / 0.9867 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004062/0.3045, allocations: 0.5002 MB / 0.9872 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/0.3047, allocations: 189.2 kB / 0.9874 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.3047, allocations: 8 kB / 0.9874 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.3048, allocations: 334 kB / 0.9877 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.3059, allocations: 368.9 kB / 0.9881 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.3071, allocations: 0.5395 MB / 0.9886 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.3082, allocations: 393.9 kB / 0.989 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3082, allocations: 4 kB / 0.989 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.004147/0.3124, allocations: 1.283 MB / 0.9903 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003604/0.3127, allocations: 0.973 MB / 0.9912 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.3128, allocations: 7.938 kB / 0.9912 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/0.3141, allocations: 330 kB / 0.9915 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000684/0.3148, allocations: 135.8 kB / 0.9917 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/0.3163, allocations: 0.9369 MB / 0.9926 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.3177, allocations: 175.4 kB / 0.9927 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.271e-05/0.3178, allocations: 27.98 kB / 0.9928 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3178, allocations: 4 kB / 0.9928 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003783/0.3216, allocations: 1.157 MB / 0.9939 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.3216, allocations: 4 kB / 0.9939 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.3227, allocations: 324.8 kB / 0.9942 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006531/0.3234, allocations: 151.7 kB / 0.9944 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.3249, allocations: 0.9386 MB / 0.9953 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.3262, allocations: 171.5 kB / 0.9954 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.601e-05/0.3263, allocations: 27.98 kB / 0.9955 GB, free: 13.02 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 (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.0005449/0.3268, allocations: 346.9 kB / 0.9958 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.327, allocations: 114.5 kB / 0.9959 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004745/0.3318, allocations: 1.436 MB / 0.9973 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.3318, allocations: 12 kB / 0.9973 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3319, allocations: 0 / 0.9973 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.3319, allocations: 3.984 kB / 0.9973 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006301/0.3382, allocations: 2.537 MB / 0.9998 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.3382, allocations: 0 / 0.9998 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000578/0.3388, allocations: 120 kB / 0.9999 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/0.3399, allocations: 316.6 kB / 1 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.166e-05/0.34, allocations: 15.98 kB / 1 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/0.3415, allocations: 0.9723 MB / 1.001 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3415, allocations: 0 / 1.001 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004525/0.346, allocations: 1.534 MB / 1.003 GB, free: 5.438 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006704/0.3467, allocations: 291.5 kB / 1.003 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.3469, allocations: 12 kB / 1.003 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009711/0.3479, allocations: 131.7 kB / 1.003 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.936e-05/0.348, allocations: 40.38 kB / 1.003 GB, free: 4.953 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-05/0.3481, allocations: 19.98 kB / 1.003 GB, free: 4.934 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009825/0.349, allocations: 0.6676 MB / 1.004 GB, free: 4.258 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3491, allocations: 0 / 1.004 GB, free: 4.258 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00161/0.3507, allocations: 0.5652 MB / 1.004 GB, free: 3.691 MB / 0.6511 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 (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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.005793/0.3565, allocations: 2.754 MB / 1.007 GB, free: 0.875 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004156/0.3607, allocations: 1.374 MB / 1.008 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.3607, allocations: 0 / 1.008 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.362, allocations: 492.8 kB / 1.009 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/0.3646, allocations: 0.4999 MB / 1.009 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005964/0.3706, allocations: 4.5 MB / 1.014 GB, free: 9.906 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006843/0.3713, allocations: 1.082 MB / 1.015 GB, free: 8.793 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001193/0.3725, allocations: 234.6 kB / 1.015 GB, free: 8.562 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005808/0.3731, allocations: 419.3 kB / 1.015 GB, free: 8.152 MB / 0.6667 GB Notification: Performance of SimCode: time 7.12e-07/0.3731, allocations: 3.938 kB / 1.015 GB, free: 8.148 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08323/0.4563, allocations: 32.97 MB / 1.048 GB, free: 7.566 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003354/0.4567, allocations: 273.4 kB / 1.048 GB, free: 7.203 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.024/3.481, allocations: 4.062 kB / 1.048 GB, free: 7.199 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)