Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001253, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000953/0.000953, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.003/1.003, allocations: 143.3 MB / 434.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003576, allocations: 12 kB / 0.5159 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1789, allocations: 83.41 MB / 0.5973 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.349/0.5278, allocations: 62.98 MB / 0.6589 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01847/0.5464, allocations: 13 MB / 0.6715 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002228/0.5486, allocations: 54.62 kB / 0.6716 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002504/0.5512, allocations: 0.7465 MB / 0.6723 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008992/0.5602, allocations: 2.416 MB / 0.6747 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005445/0.5656, allocations: 1.525 MB / 0.6762 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005638/0.5713, allocations: 2.52 MB / 0.6786 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002558/0.5739, allocations: 1.039 MB / 0.6797 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00355/0.5774, allocations: 1.172 MB / 0.6808 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001984/0.5794, allocations: 0.7841 MB / 0.6816 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000217/0.5797, allocations: 56.34 kB / 0.6816 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003389/0.5831, allocations: 0.8352 MB / 0.6824 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004164/0.5835, allocations: 259.9 kB / 0.6827 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007133/0.5842, allocations: 356.9 kB / 0.683 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00554/0.5898, allocations: 2.151 MB / 0.6851 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.5898, allocations: 0 / 0.6851 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of FrontEnd: time 5.16e-06/0.5898, allocations: 1.281 kB / 0.6851 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001161/0.59, allocations: 0 / 0.6851 GB, free: 4.738 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.006794/0.5968, allocations: 1.794 MB / 0.6869 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.5968, allocations: 7.906 kB / 0.6869 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004953/0.5973, allocations: 151.2 kB / 0.687 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.5984, allocations: 241.8 kB / 0.6873 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003158/0.6016, allocations: 1.38 MB / 0.6886 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.873e-05/0.6017, allocations: 77 kB / 0.6887 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.6019, allocations: 104.3 kB / 0.6888 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0029/0.6048, allocations: 1.108 MB / 0.6899 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/0.6048, allocations: 3.938 kB / 0.6899 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.605, allocations: 41.84 kB / 0.6899 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.887e-05/0.605, allocations: 33.22 kB / 0.6899 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.6074, allocations: 0.929 MB / 0.6908 GB, free: 1.621 MB / 0.5137 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.008123/0.6156, allocations: 4.958 MB / 0.6957 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.6172, allocations: 0.6434 MB / 0.6963 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000719/0.6179, allocations: 0.8224 MB / 0.6971 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.618, allocations: 43.16 kB / 0.6972 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 3.276e-06/0.618, allocations: 0 / 0.6972 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007802/0.6258, allocations: 1.888 MB / 0.699 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.6259, allocations: 58.97 kB / 0.6991 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/0.6281, allocations: 1.248 MB / 0.7003 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001752/0.6283, allocations: 38.95 kB / 0.7003 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005728/0.6288, allocations: 0.6106 MB / 0.7009 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/0.6291, allocations: 211.3 kB / 0.7011 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.6292, allocations: 14.22 kB / 0.7011 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6293, allocations: 329 kB / 0.7014 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007925/0.6301, allocations: 302 kB / 0.7017 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009347/0.631, allocations: 0.5012 MB / 0.7022 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008433/0.6319, allocations: 356.2 kB / 0.7026 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.6319, allocations: 1.031 kB / 0.7026 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005114/0.637, allocations: 1.399 MB / 0.7039 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006245/0.6377, allocations: 1.424 MB / 0.7053 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.6377, allocations: 3.031 kB / 0.7053 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000667/0.6384, allocations: 155.8 kB / 0.7055 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006968/0.6391, allocations: 164.6 kB / 0.7056 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000965/0.6401, allocations: 0.7158 MB / 0.7063 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.6418, allocations: 164.5 kB / 0.7065 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.434e-05/0.6419, allocations: 38.89 kB / 0.7065 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.6419, allocations: 3.312 kB / 0.7065 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004621/0.6465, allocations: 1.247 MB / 0.7077 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.6466, allocations: 5.25 kB / 0.7077 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005447/0.6471, allocations: 150.7 kB / 0.7079 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/0.6478, allocations: 163.8 kB / 0.708 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009702/0.6488, allocations: 0.7267 MB / 0.7088 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.6505, allocations: 158.9 kB / 0.7089 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.141e-05/0.6506, allocations: 35.2 kB / 0.7089 GB, free: 5.789 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.001096/0.6517, allocations: 409.7 kB / 0.7093 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004061/0.6521, allocations: 143.9 kB / 0.7095 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005142/0.6572, allocations: 1.403 MB / 0.7108 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-05/0.6573, allocations: 11.22 kB / 0.7108 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.6573, allocations: 0 / 0.7108 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004275/0.6616, allocations: 1.235 MB / 0.712 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007339/0.6689, allocations: 2.767 MB / 0.7148 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.669, allocations: 2.562 kB / 0.7148 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005206/0.6695, allocations: 122 kB / 0.7149 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005158/0.67, allocations: 142.8 kB / 0.715 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/0.6701, allocations: 23.83 kB / 0.715 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005266/0.6754, allocations: 2.535 MB / 0.7175 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.6754, allocations: 4 kB / 0.7175 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005816/0.6812, allocations: 2.058 MB / 0.7195 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.6823, allocations: 354.9 kB / 0.7199 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/0.6825, allocations: 16 kB / 0.7199 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000903/0.6834, allocations: 95.97 kB / 0.72 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.6835, allocations: 60.25 kB / 0.72 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-05/0.6836, allocations: 32.09 kB / 0.7201 GB, free: 12.96 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001574/0.6852, allocations: 0.8974 MB / 0.7209 GB, free: 12.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6852, allocations: 384 / 0.7209 GB, free: 12.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002301/0.6875, allocations: 0.7252 MB / 0.7216 GB, free: 11.34 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.00743/0.6949, allocations: 3.88 MB / 0.7254 GB, free: 7.348 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002888/0.6979, allocations: 1.159 MB / 0.7266 GB, free: 6.195 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.6979, allocations: 4 kB / 0.7266 GB, free: 6.191 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001686/0.6996, allocations: 0.5995 MB / 0.7271 GB, free: 5.582 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004318/0.7039, allocations: 0.7542 MB / 0.7279 GB, free: 4.836 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008466/0.7124, allocations: 5.928 MB / 0.7337 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009836/0.7134, allocations: 1.218 MB / 0.7349 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001653/0.7151, allocations: 307 kB / 0.7352 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007168/0.7158, allocations: 0.5071 MB / 0.7356 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of SimCode: time 1.693e-06/0.7158, allocations: 0 / 0.7356 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0787/0.7945, allocations: 42.42 MB / 0.7771 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002543/0.7949, allocations: 269.3 kB / 0.7773 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.828/3.623, allocations: 7.562 kB / 0.7773 GB, free: 2.539 MB / 0.5919 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) Environment - environmentSimulation: