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.00126/0.00126, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5141/0.5141, allocations: 90.81 MB / 104.5 MB, free: 13.89 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.49/1.49, allocations: 221.3 MB / 348.3 MB, free: 12.55 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.0009563/0.0009561, allocations: 99.92 kB / 421.2 MB, free: 5.684 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.674e-05/3.685e-05, allocations: 4 kB / 0.4897 GB, free: 46.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1389, allocations: 72.3 MB / 0.5603 GB, free: 6.336 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9937/1.133, allocations: 386.9 MB / 0.9381 GB, free: 86.82 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/1.133, allocations: 98.17 kB / 0.9382 GB, free: 86.77 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.807/4.94, allocations: 1.068 GB / 2.006 GB, free: 93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/4.94, allocations: 0 / 2.006 GB, free: 93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001433/4.94, allocations: 33.45 kB / 2.006 GB, free: 93 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.003256/4.943, allocations: 1.498 MB / 2.007 GB, free: 92.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/4.943, allocations: 13.52 kB / 2.007 GB, free: 92.47 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001625/4.944, allocations: 119.3 kB / 2.008 GB, free: 92.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/4.945, allocations: 349.2 kB / 2.008 GB, free: 92.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002581/4.948, allocations: 1.263 MB / 2.009 GB, free: 92.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003429/4.948, allocations: 129.4 kB / 2.009 GB, free: 92.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/4.948, allocations: 82.38 kB / 2.009 GB, free: 92.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/4.95, allocations: 0.8549 MB / 2.01 GB, free: 91.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/4.95, allocations: 3.375 kB / 2.01 GB, free: 91.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.107e-05/4.95, allocations: 31.56 kB / 2.01 GB, free: 91.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.731e-05/4.95, allocations: 38.22 kB / 2.01 GB, free: 91.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/4.951, allocations: 0.6279 MB / 2.011 GB, free: 91.89 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.006006/4.957, allocations: 4.629 MB / 2.015 GB, free: 89.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008571/4.958, allocations: 442.7 kB / 2.016 GB, free: 89.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/4.958, allocations: 196.7 kB / 2.016 GB, free: 89.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009731/4.959, allocations: 1.366 MB / 2.017 GB, free: 87.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/4.959, allocations: 34.25 kB / 2.017 GB, free: 87.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 2.044e-06/4.959, allocations: 6.75 kB / 2.017 GB, free: 87.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.00237/4.961, allocations: 0.7329 MB / 2.018 GB, free: 87.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/4.962, allocations: 57.69 kB / 2.018 GB, free: 87.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/4.963, allocations: 0.9055 MB / 2.019 GB, free: 87.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.994e-05/4.963, allocations: 37.11 kB / 2.019 GB, free: 87.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003112/4.963, allocations: 0.5316 MB / 2.02 GB, free: 87.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.986e-05/4.963, allocations: 150.3 kB / 2.02 GB, free: 87.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/4.963, allocations: 11.06 kB / 2.02 GB, free: 87.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.216e-05/4.963, allocations: 326.9 kB / 2.02 GB, free: 86.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/4.963, allocations: 166.7 kB / 2.02 GB, free: 86.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/4.964, allocations: 413.7 kB / 2.021 GB, free: 86.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/4.964, allocations: 215 kB / 2.021 GB, free: 86.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/4.964, allocations: 0 / 2.021 GB, free: 86.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002479/4.967, allocations: 0.9062 MB / 2.022 GB, free: 86.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005407/4.967, allocations: 1.58 MB / 2.023 GB, free: 84.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/4.967, allocations: 3 kB / 2.023 GB, free: 84.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009359/4.968, allocations: 254 kB / 2.023 GB, free: 84.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/4.969, allocations: 108.7 kB / 2.024 GB, free: 84.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007592/4.969, allocations: 0.8275 MB / 2.024 GB, free: 84.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/4.971, allocations: 188.2 kB / 2.025 GB, free: 84.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.352e-05/4.971, allocations: 32.45 kB / 2.025 GB, free: 84.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/4.971, allocations: 4.969 kB / 2.025 GB, free: 84.39 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002322/4.973, allocations: 0.7877 MB / 2.025 GB, free: 84.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/4.973, allocations: 3.469 kB / 2.025 GB, free: 84.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006952/4.974, allocations: 248 kB / 2.026 GB, free: 84.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/4.974, allocations: 100.2 kB / 2.026 GB, free: 84.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007509/4.975, allocations: 0.8209 MB / 2.027 GB, free: 83.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/4.976, allocations: 159.9 kB / 2.027 GB, free: 83.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.896e-05/4.976, allocations: 30.81 kB / 2.027 GB, free: 83.82 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 () * 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.0002071/4.977, allocations: 143.7 kB / 2.027 GB, free: 83.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/4.977, allocations: 105.9 kB / 2.027 GB, free: 83.65 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00297/4.98, allocations: 0.9546 MB / 2.028 GB, free: 83.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/4.98, allocations: 10.64 kB / 2.028 GB, free: 83.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/4.98, allocations: 0 / 2.028 GB, free: 83.58 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/4.98, allocations: 5.047 kB / 2.028 GB, free: 83.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004279/4.984, allocations: 1.939 MB / 2.03 GB, free: 83.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/4.984, allocations: 5.906 kB / 2.03 GB, free: 83.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/4.984, allocations: 49.55 kB / 2.03 GB, free: 83.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007008/4.985, allocations: 265.9 kB / 2.03 GB, free: 83.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/4.985, allocations: 18.62 kB / 2.03 GB, free: 83.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007468/4.986, allocations: 0.8509 MB / 2.031 GB, free: 82.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/4.986, allocations: 7.281 kB / 2.031 GB, free: 82.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/4.988, allocations: 1.084 MB / 2.032 GB, free: 82.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005579/4.989, allocations: 288.4 kB / 2.032 GB, free: 82.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/4.989, allocations: 13.64 kB / 2.032 GB, free: 82.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008149/4.99, allocations: 95.95 kB / 2.032 GB, free: 82.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.542e-05/4.99, allocations: 32.66 kB / 2.032 GB, free: 82.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.347e-05/4.99, allocations: 23.06 kB / 2.032 GB, free: 82.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008587/4.991, allocations: 0.7086 MB / 2.033 GB, free: 81.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/4.991, allocations: 0 / 2.033 GB, free: 81.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001658/4.992, allocations: 0.6337 MB / 2.034 GB, free: 81.88 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 () * 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.003578/4.996, allocations: 2.782 MB / 2.036 GB, free: 80.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001703/4.998, allocations: 0.8131 MB / 2.037 GB, free: 80.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/4.998, allocations: 0 / 2.037 GB, free: 80.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005202/4.998, allocations: 285.8 kB / 2.038 GB, free: 80.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/5.001, allocations: 0.4942 MB / 2.038 GB, free: 80.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/5.004, allocations: 1.601 MB / 2.04 GB, free: 79.74 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/5.004, allocations: 1.087 MB / 2.041 GB, free: 79.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001156/5.006, allocations: 272.6 kB / 2.041 GB, free: 79.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003884/5.006, allocations: 387.5 kB / 2.041 GB, free: 79.02 MB / 0.6198 GB Notification: Performance of SimCode: time 7.71e-07/5.006, allocations: 0 / 2.041 GB, free: 79.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05908/5.065, allocations: 40.41 MB / 2.081 GB, free: 77.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/5.065, allocations: 234.2 kB / 2.081 GB, free: 77.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.128/8.194, allocations: 0 / 2.081 GB, free: 77.21 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)