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.511/1.511, allocations: 252 MB / 267 MB, free: 10.96 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.001281/0.001281, allocations: 183.1 kB / 326.6 MB, free: 2.207 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.879/1.879, allocations: 205.4 MB / 0.5777 GB, free: 20.22 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.001003/0.001003, allocations: 84.53 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003479, allocations: 8.469 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2337, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.03907/0.2728, allocations: 56.55 MB / 0.9555 GB, free: 7.098 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01437/0.2872, allocations: 11.08 MB / 0.9664 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00237/0.2896, allocations: 55.69 kB / 0.9664 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002025/0.2917, allocations: 472.8 kB / 0.9669 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005613/0.2973, allocations: 1.514 MB / 0.9683 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003138/0.3004, allocations: 0.8857 MB / 0.9692 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004787/0.3052, allocations: 3.379 MB / 0.9725 GB, free: 5.684 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001628/0.3069, allocations: 0.8028 MB / 0.9733 GB, free: 4.855 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002541/0.3095, allocations: 1.034 MB / 0.9743 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.3112, allocations: 0.8127 MB / 0.9751 GB, free: 3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001777/0.3114, allocations: 44 kB / 0.9751 GB, free: 2.957 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002549/0.314, allocations: 1.084 MB / 0.9762 GB, free: 1.871 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002706/0.3143, allocations: 203 kB / 0.9764 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005056/0.3148, allocations: 289 kB / 0.9767 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.3172, allocations: 1.641 MB / 0.9783 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3172, allocations: 0 / 0.9783 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3172, allocations: 0 / 0.9783 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.341e-05/0.3172, allocations: 0 / 0.9783 GB, free: 15.74 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.002984/0.3202, allocations: 1.505 MB / 0.9797 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.3203, allocations: 12.03 kB / 0.9797 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001596/0.3205, allocations: 122.8 kB / 0.9799 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002625/0.3231, allocations: 0.5135 MB / 0.9804 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/0.3253, allocations: 1.101 MB / 0.9814 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003687/0.3257, allocations: 133.9 kB / 0.9816 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.3259, allocations: 84 kB / 0.9816 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/0.3281, allocations: 1.029 MB / 0.9826 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.3281, allocations: 0 / 0.9826 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.431e-05/0.3282, allocations: 36 kB / 0.9827 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.3283, allocations: 23.95 kB / 0.9827 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00263/0.3309, allocations: 1.003 MB / 0.9837 GB, free: 10.02 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.006705/0.3376, allocations: 4.72 MB / 0.9883 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004314/0.342, allocations: 1.116 MB / 0.9894 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001302/0.3433, allocations: 445.8 kB / 0.9898 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/0.3445, allocations: 1.033 MB / 0.9908 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.3445, allocations: 39 kB / 0.9909 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=53): time 3.537e-06/0.3445, allocations: 0 / 0.9909 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53): time 0.01036/0.3549, allocations: 2.49 MB / 0.9933 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.355, allocations: 63.84 kB / 0.9933 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.3563, allocations: 0.9238 MB / 0.9942 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.3565, allocations: 37.7 kB / 0.9943 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003971/0.3569, allocations: 0.504 MB / 0.9948 GB, free: 14 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.3571, allocations: 185.2 kB / 0.995 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.3571, allocations: 11.94 kB / 0.995 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3572, allocations: 326 kB / 0.9953 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/0.3584, allocations: 376.9 kB / 0.9956 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.3596, allocations: 0.5356 MB / 0.9962 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.3607, allocations: 397.9 kB / 0.9965 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.3607, allocations: 0 / 0.9965 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.004231/0.365, allocations: 1.299 MB / 0.9978 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001454/0.3651, allocations: 156.2 kB / 0.998 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.3652, allocations: 4 kB / 0.998 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/0.3665, allocations: 334.8 kB / 0.9983 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006669/0.3672, allocations: 143.8 kB / 0.9984 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.3688, allocations: 0.927 MB / 0.9993 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.3702, allocations: 179.3 kB / 0.9995 GB, free: 9.027 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.314e-05/0.3703, allocations: 31.92 kB / 0.9995 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.3703, allocations: 4 kB / 0.9995 GB, free: 8.992 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003718/0.3741, allocations: 1.157 MB / 1.001 GB, free: 7.828 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.3741, allocations: 4 kB / 1.001 GB, free: 7.824 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.3753, allocations: 324.8 kB / 1.001 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000669/0.376, allocations: 135.8 kB / 1.001 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.3775, allocations: 0.9381 MB / 1.002 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.3789, allocations: 175.4 kB / 1.002 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.9e-05/0.379, allocations: 23.98 kB / 1.002 GB, free: 6.215 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.0006423/0.3797, allocations: 360.8 kB / 1.003 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.3799, allocations: 106.7 kB / 1.003 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004684/0.3846, allocations: 1.439 MB / 1.004 GB, free: 4.301 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.3846, allocations: 8 kB / 1.004 GB, free: 4.293 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.3846, allocations: 4 kB / 1.004 GB, free: 4.289 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.3846, allocations: 7.938 kB / 1.004 GB, free: 4.281 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006312/0.391, allocations: 2.514 MB / 1.007 GB, free: 1.688 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.391, allocations: 0 / 1.007 GB, free: 1.688 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005752/0.3916, allocations: 116 kB / 1.007 GB, free: 1.574 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/0.3927, allocations: 316.6 kB / 1.007 GB, free: 1.262 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-05/0.3928, allocations: 15.98 kB / 1.007 GB, free: 1.246 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.3943, allocations: 0.9785 MB / 1.008 GB, free: 252 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3943, allocations: 0 / 1.008 GB, free: 252 kB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004599/0.3989, allocations: 1.452 MB / 1.009 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006961/0.3996, allocations: 299.4 kB / 1.01 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.3998, allocations: 12 kB / 1.01 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009944/0.4008, allocations: 127.8 kB / 1.01 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.4009, allocations: 40.33 kB / 1.01 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.457e-05/0.4009, allocations: 23.98 kB / 1.01 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001033/0.402, allocations: 0.6519 MB / 1.01 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.603e-06/0.402, allocations: 4 kB / 1.01 GB, free: 13.58 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001563/0.4036, allocations: 0.5574 MB / 1.011 GB, free: 13.02 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 (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.005733/0.4093, allocations: 2.258 MB / 1.013 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004135/0.4135, allocations: 1.381 MB / 1.015 GB, free: 9.34 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.4135, allocations: 0 / 1.015 GB, free: 9.34 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/0.415, allocations: 488.8 kB / 1.015 GB, free: 8.863 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002875/0.4179, allocations: 0.5071 MB / 1.016 GB, free: 8.359 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/0.4334, allocations: 6.724 MB / 1.022 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007382/0.4342, allocations: 1.066 MB / 1.023 GB, free: 268 kB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001224/0.4354, allocations: 235.4 kB / 1.023 GB, free: 32 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000625/0.4361, allocations: 411.4 kB / 1.024 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of SimCode: time 1.112e-06/0.4361, allocations: 0 / 1.024 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4881/0.9242, allocations: 33.27 MB / 1.056 GB, free: 144.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/0.9245, allocations: 279.1 kB / 1.056 GB, free: 143.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.19/4.114, allocations: 4 kB / 1.056 GB, free: 143.9 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)