Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 183.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.504/0.504, allocations: 91.98 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 223.2 MB / 354.3 MB, free: 10.46 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009219/0.0009218, allocations: 100.3 kB / 427.4 MB, free: 2.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003258, allocations: 8 kB / 0.4983 GB, free: 41.97 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1545, allocations: 72.31 MB / 0.5689 GB, free: 1.594 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.27, allocations: 386.9 MB / 0.9468 GB, free: 80.05 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/1.27, allocations: 92.02 kB / 0.9469 GB, free: 80.01 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.202/5.473, allocations: 1.071 GB / 2.018 GB, free: 93.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/5.473, allocations: 0 / 2.018 GB, free: 93.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002185/5.473, allocations: 35.06 kB / 2.018 GB, free: 93.69 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005172/5.478, allocations: 1.715 MB / 2.02 GB, free: 93.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/5.478, allocations: 7.781 kB / 2.02 GB, free: 93.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003545/5.479, allocations: 125.6 kB / 2.02 GB, free: 92.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/5.48, allocations: 354.2 kB / 2.02 GB, free: 92.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003124/5.483, allocations: 1.278 MB / 2.021 GB, free: 92.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003292/5.484, allocations: 124.8 kB / 2.022 GB, free: 92.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/5.484, allocations: 82.5 kB / 2.022 GB, free: 92.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/5.486, allocations: 0.9698 MB / 2.023 GB, free: 92.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/5.486, allocations: 3 kB / 2.023 GB, free: 92.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.457e-05/5.486, allocations: 35.09 kB / 2.023 GB, free: 92.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.248e-05/5.486, allocations: 30.53 kB / 2.023 GB, free: 92.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/5.488, allocations: 0.8344 MB / 2.024 GB, free: 92.43 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.006183/5.494, allocations: 4.624 MB / 2.028 GB, free: 89.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/5.496, allocations: 0.5759 MB / 2.029 GB, free: 89.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009627/5.497, allocations: 1.364 MB / 2.03 GB, free: 88.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/5.497, allocations: 37.41 kB / 2.03 GB, free: 88.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 2.214e-06/5.497, allocations: 1.781 kB / 2.03 GB, free: 88.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.007502/5.504, allocations: 1.905 MB / 2.032 GB, free: 88.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/5.504, allocations: 55.75 kB / 2.032 GB, free: 88.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/5.506, allocations: 0.9508 MB / 2.033 GB, free: 88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.742e-05/5.506, allocations: 41.86 kB / 2.033 GB, free: 87.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003782/5.506, allocations: 0.5381 MB / 2.033 GB, free: 87.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/5.506, allocations: 146.1 kB / 2.034 GB, free: 87.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/5.506, allocations: 5.375 kB / 2.034 GB, free: 87.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.555e-05/5.506, allocations: 333.3 kB / 2.034 GB, free: 87.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006549/5.507, allocations: 263.8 kB / 2.034 GB, free: 87.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007887/5.508, allocations: 0.5047 MB / 2.035 GB, free: 87.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007238/5.508, allocations: 318.6 kB / 2.035 GB, free: 87.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/5.508, allocations: 6.984 kB / 2.035 GB, free: 87.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.003576/5.512, allocations: 1.145 MB / 2.036 GB, free: 87.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003465/5.512, allocations: 1.588 MB / 2.038 GB, free: 85.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/5.512, allocations: 5.844 kB / 2.038 GB, free: 85.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/5.514, allocations: 356.8 kB / 2.038 GB, free: 85.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004182/5.514, allocations: 100.1 kB / 2.038 GB, free: 85.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/5.515, allocations: 0.9789 MB / 2.039 GB, free: 84.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/5.517, allocations: 179 kB / 2.039 GB, free: 84.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/5.517, allocations: 31.02 kB / 2.039 GB, free: 84.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/5.517, allocations: 6.562 kB / 2.039 GB, free: 84.84 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003493/5.521, allocations: 1.031 MB / 2.04 GB, free: 84.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/5.521, allocations: 3.375 kB / 2.04 GB, free: 84.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/5.522, allocations: 351.4 kB / 2.04 GB, free: 84.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/5.522, allocations: 109.7 kB / 2.041 GB, free: 84.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/5.524, allocations: 0.9594 MB / 2.042 GB, free: 84.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/5.525, allocations: 152.2 kB / 2.042 GB, free: 84.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-05/5.525, allocations: 36.2 kB / 2.042 GB, free: 84.25 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (46): * Single equations (assignments): 45 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0006547/5.526, allocations: 355.2 kB / 2.042 GB, free: 84.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/5.526, allocations: 113.4 kB / 2.042 GB, free: 84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003593/5.529, allocations: 1.131 MB / 2.043 GB, free: 83.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/5.529, allocations: 6.781 kB / 2.043 GB, free: 83.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/5.529, allocations: 0 / 2.043 GB, free: 83.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/5.529, allocations: 10.92 kB / 2.043 GB, free: 83.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004793/5.534, allocations: 2.114 MB / 2.045 GB, free: 83.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/5.534, allocations: 3.938 kB / 2.045 GB, free: 83.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/5.534, allocations: 56.02 kB / 2.045 GB, free: 83.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/5.536, allocations: 358 kB / 2.046 GB, free: 83.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/5.536, allocations: 16.45 kB / 2.046 GB, free: 83.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/5.537, allocations: 0.9982 MB / 2.047 GB, free: 82.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/5.537, allocations: 6.969 kB / 2.047 GB, free: 82.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003305/5.54, allocations: 1.272 MB / 2.048 GB, free: 82.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005667/5.541, allocations: 272.8 kB / 2.048 GB, free: 82.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/5.541, allocations: 19.27 kB / 2.048 GB, free: 82.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009463/5.542, allocations: 113.3 kB / 2.048 GB, free: 82.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.06e-05/5.542, allocations: 30.44 kB / 2.048 GB, free: 82.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-05/5.542, allocations: 21.44 kB / 2.048 GB, free: 82.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001455/5.544, allocations: 0.7483 MB / 2.049 GB, free: 82.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/5.544, allocations: 0 / 2.049 GB, free: 82.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002516/5.546, allocations: 0.6357 MB / 2.05 GB, free: 82.2 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (31): * Single equations (assignments): 26 * 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 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.004801/5.551, allocations: 2.96 MB / 2.053 GB, free: 80.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002859/5.554, allocations: 1.037 MB / 2.054 GB, free: 80.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/5.554, allocations: 0 / 2.054 GB, free: 80.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008033/5.555, allocations: 350.2 kB / 2.054 GB, free: 80.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/5.557, allocations: 0.4973 MB / 2.054 GB, free: 80.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0149/5.572, allocations: 9.195 MB / 2.063 GB, free: 75.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/5.572, allocations: 1.083 MB / 2.065 GB, free: 75.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001058/5.573, allocations: 212.5 kB / 2.065 GB, free: 75.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004672/5.574, allocations: 405.8 kB / 2.065 GB, free: 75.08 MB / 0.6198 GB Notification: Performance of SimCode: time 7.754e-06/5.574, allocations: 0 / 2.065 GB, free: 75.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05795/5.632, allocations: 38.41 MB / 2.103 GB, free: 73.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/5.632, allocations: 257.8 kB / 2.103 GB, free: 72.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.253/8.885, allocations: 0 / 2.103 GB, free: 72.71 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)