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.0009982/0.0009982, allocations: 176.1 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4861/0.4861, allocations: 90.92 MB / 99.35 MB, free: 2.211 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 221.5 MB / 343.2 MB, free: 1.57 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009444/0.0009443, allocations: 101.7 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.884e-05/1.885e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.146, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.014/1.16, allocations: 386.2 MB / 0.9308 GB, free: 94.32 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/1.16, allocations: 90.08 kB / 0.9309 GB, free: 94.28 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.632/4.793, allocations: 1.063 GB / 1.994 GB, free: 101.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.362e-06/4.793, allocations: 0 / 1.994 GB, free: 101.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001209/4.793, allocations: 31.55 kB / 1.994 GB, free: 101.1 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.0027/4.796, allocations: 1.491 MB / 1.996 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/4.796, allocations: 10.44 kB / 1.996 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/4.797, allocations: 352.3 kB / 1.996 GB, free: 100.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002143/4.799, allocations: 1.257 MB / 1.997 GB, free: 100.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003157/4.8, allocations: 104.1 kB / 1.997 GB, free: 100.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.235e-05/4.8, allocations: 47.84 kB / 1.997 GB, free: 100.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009718/4.801, allocations: 0.6068 MB / 1.998 GB, free: 100.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/4.802, allocations: 0.7457 MB / 1.999 GB, free: 99.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/4.802, allocations: 3.219 kB / 1.999 GB, free: 99.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.323e-05/4.802, allocations: 3.656 kB / 1.999 GB, free: 99.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/4.802, allocations: 35.12 kB / 1.999 GB, free: 99.95 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.004825/4.807, allocations: 4.446 MB / 2.003 GB, free: 97.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007212/4.808, allocations: 414.9 kB / 2.003 GB, free: 97.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/4.808, allocations: 184.9 kB / 2.004 GB, free: 97.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009175/4.809, allocations: 1.366 MB / 2.005 GB, free: 96.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/4.809, allocations: 41.62 kB / 2.005 GB, free: 95.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 2.524e-06/4.809, allocations: 0 / 2.005 GB, free: 95.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.005544/4.814, allocations: 1.314 MB / 2.006 GB, free: 95.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/4.814, allocations: 55.31 kB / 2.006 GB, free: 95.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009313/4.815, allocations: 0.7471 MB / 2.007 GB, free: 95.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.877e-05/4.815, allocations: 31.8 kB / 2.007 GB, free: 95.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/4.816, allocations: 0.5414 MB / 2.008 GB, free: 95.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.725e-05/4.816, allocations: 144.3 kB / 2.008 GB, free: 95.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/4.816, allocations: 2 kB / 2.008 GB, free: 95.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.532e-05/4.816, allocations: 319.6 kB / 2.008 GB, free: 95.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/4.816, allocations: 159.1 kB / 2.008 GB, free: 95.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/4.816, allocations: 399.3 kB / 2.009 GB, free: 94.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003672/4.82, allocations: 0.8244 MB / 2.009 GB, free: 94.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/4.82, allocations: 3.969 kB / 2.009 GB, free: 94.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.005899/4.826, allocations: 1.481 MB / 2.011 GB, free: 94.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003184/4.826, allocations: 1.573 MB / 2.012 GB, free: 93.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/4.826, allocations: 3.938 kB / 2.012 GB, free: 93.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006573/4.827, allocations: 230 kB / 2.013 GB, free: 93.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/4.827, allocations: 107 kB / 2.013 GB, free: 93.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008876/4.828, allocations: 0.8757 MB / 2.014 GB, free: 92.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/4.83, allocations: 154.4 kB / 2.014 GB, free: 92.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.659e-05/4.83, allocations: 31.78 kB / 2.014 GB, free: 92.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.505e-06/4.83, allocations: 3.719 kB / 2.014 GB, free: 92.49 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005627/4.835, allocations: 1.342 MB / 2.015 GB, free: 92.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/4.835, allocations: 2.781 kB / 2.015 GB, free: 92.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006118/4.836, allocations: 236.9 kB / 2.015 GB, free: 92.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/4.836, allocations: 107.6 kB / 2.015 GB, free: 92.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008836/4.837, allocations: 0.858 MB / 2.016 GB, free: 91.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/4.839, allocations: 127.7 kB / 2.016 GB, free: 91.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.604e-05/4.839, allocations: 30.47 kB / 2.016 GB, free: 91.92 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.0002298/4.839, allocations: 123.1 kB / 2.016 GB, free: 91.81 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005632/4.845, allocations: 1.307 MB / 2.018 GB, free: 91.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/4.845, allocations: 99.62 kB / 2.018 GB, free: 91.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005951/4.851, allocations: 1.494 MB / 2.019 GB, free: 91.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/4.851, allocations: 7.844 kB / 2.019 GB, free: 91.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/4.851, allocations: 3.953 kB / 2.019 GB, free: 91.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/4.851, allocations: 3.422 kB / 2.019 GB, free: 91.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006981/4.858, allocations: 2.39 MB / 2.022 GB, free: 91.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/4.858, allocations: 3.969 kB / 2.022 GB, free: 91.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/4.858, allocations: 53.78 kB / 2.022 GB, free: 91.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005589/4.859, allocations: 252.5 kB / 2.022 GB, free: 91.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/4.859, allocations: 7.281 kB / 2.022 GB, free: 91.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008391/4.859, allocations: 0.8953 MB / 2.023 GB, free: 90.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/4.86, allocations: 4.438 kB / 2.023 GB, free: 90.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005722/4.865, allocations: 1.64 MB / 2.024 GB, free: 90.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000515/4.866, allocations: 259.2 kB / 2.025 GB, free: 90.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/4.866, allocations: 9.016 kB / 2.025 GB, free: 90.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008949/4.867, allocations: 92.27 kB / 2.025 GB, free: 90.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.565e-05/4.867, allocations: 38.61 kB / 2.025 GB, free: 90.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-05/4.867, allocations: 20.14 kB / 2.025 GB, free: 90.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007605/4.868, allocations: 0.5686 MB / 2.025 GB, free: 90 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/4.868, allocations: 2.719 kB / 2.025 GB, free: 90 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001852/4.87, allocations: 0.6274 MB / 2.026 GB, free: 89.89 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.007272/4.877, allocations: 3.344 MB / 2.029 GB, free: 88.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001613/4.879, allocations: 0.7518 MB / 2.03 GB, free: 88.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/4.879, allocations: 2.094 kB / 2.03 GB, free: 88.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004948/4.879, allocations: 250.5 kB / 2.03 GB, free: 88.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002679/4.882, allocations: 391.9 kB / 2.031 GB, free: 88.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005201/4.887, allocations: 1.522 MB / 2.032 GB, free: 87.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/4.888, allocations: 1.085 MB / 2.033 GB, free: 87.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001196/4.889, allocations: 234 kB / 2.033 GB, free: 87.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004254/4.889, allocations: 393.8 kB / 2.034 GB, free: 87.02 MB / 0.6198 GB Notification: Performance of SimCode: time 1.022e-06/4.889, allocations: 0 / 2.034 GB, free: 87.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05542/4.945, allocations: 32.32 MB / 2.065 GB, free: 85.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/4.945, allocations: 180 kB / 2.066 GB, free: 85.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.769/7.714, allocations: 3.828 kB / 2.066 GB, free: 85.1 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)