Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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_etaPL,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaPL",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.001052/0.001052, 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.001227/0.001227, allocations: 177.3 kB / 15.95 MB, free: 216 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.413/1.413, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9849/0.9849, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003312, allocations: 8 kB / 0.5159 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.186, allocations: 83.4 MB / 0.5973 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.4269/0.613, allocations: 63 MB / 0.6589 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01773/0.6307, allocations: 13 MB / 0.6716 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/0.633, allocations: 53.72 kB / 0.6716 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002358/0.6354, allocations: 0.7491 MB / 0.6723 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007868/0.6433, allocations: 2.408 MB / 0.6747 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00495/0.6483, allocations: 1.53 MB / 0.6762 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005782/0.6541, allocations: 2.511 MB / 0.6786 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002147/0.6562, allocations: 1.038 MB / 0.6797 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003061/0.6593, allocations: 1.168 MB / 0.6808 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001808/0.6611, allocations: 0.7874 MB / 0.6816 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002354/0.6614, allocations: 54.31 kB / 0.6816 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003167/0.6646, allocations: 0.8545 MB / 0.6824 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004257/0.665, allocations: 260.9 kB / 0.6827 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007544/0.6658, allocations: 357.4 kB / 0.683 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003715/0.6695, allocations: 2.164 MB / 0.6852 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.6695, allocations: 0 / 0.6852 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6695, allocations: 4 kB / 0.6852 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.811e-05/0.6696, allocations: 1.281 kB / 0.6852 GB, free: 4.57 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.004366/0.6739, allocations: 1.792 MB / 0.6869 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.674, allocations: 9.625 kB / 0.6869 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002533/0.6743, allocations: 147 kB / 0.6871 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008402/0.6751, allocations: 248.9 kB / 0.6873 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002875/0.678, allocations: 1.379 MB / 0.6886 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.737e-05/0.6781, allocations: 76.91 kB / 0.6887 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.6783, allocations: 105 kB / 0.6888 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002492/0.6808, allocations: 1.11 MB / 0.6899 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.6808, allocations: 1.844 kB / 0.6899 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.6809, allocations: 41.66 kB / 0.6899 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.111e-05/0.681, allocations: 29.2 kB / 0.69 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/0.6831, allocations: 0.9293 MB / 0.6909 GB, free: 1.461 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.007616/0.6907, allocations: 4.976 MB / 0.6957 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/0.6922, allocations: 0.6525 MB / 0.6964 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005956/0.6929, allocations: 0.8276 MB / 0.6972 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.6929, allocations: 39.2 kB / 0.6972 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.735e-06/0.6929, allocations: 1 kB / 0.6972 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.005032/0.6979, allocations: 1.512 MB / 0.6987 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.698, allocations: 58.06 kB / 0.6987 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/0.6998, allocations: 1.252 MB / 0.7 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.6999, allocations: 39.08 kB / 0.7 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005298/0.7004, allocations: 0.6102 MB / 0.7006 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.7007, allocations: 222.4 kB / 0.7008 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.7007, allocations: 10.59 kB / 0.7008 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.7009, allocations: 336.4 kB / 0.7011 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006804/0.7015, allocations: 299.1 kB / 0.7014 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008885/0.7024, allocations: 0.4944 MB / 0.7019 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007739/0.7032, allocations: 358.6 kB / 0.7023 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.7032, allocations: 1.031 kB / 0.7023 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004793/0.708, allocations: 1.397 MB / 0.7036 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004246/0.7085, allocations: 1.331 MB / 0.7049 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.7085, allocations: 3.562 kB / 0.7049 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006987/0.7092, allocations: 163.5 kB / 0.7051 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000638/0.7099, allocations: 168 kB / 0.7052 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008651/0.7107, allocations: 0.7315 MB / 0.706 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.7121, allocations: 163.7 kB / 0.7061 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-05/0.7122, allocations: 35.36 kB / 0.7061 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.7122, allocations: 8.375 kB / 0.7062 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004372/0.7165, allocations: 1.238 MB / 0.7074 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.7166, allocations: 3.438 kB / 0.7074 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005918/0.7172, allocations: 165.7 kB / 0.7075 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006251/0.7178, allocations: 158.8 kB / 0.7077 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00082/0.7186, allocations: 0.7354 MB / 0.7084 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.7201, allocations: 162.7 kB / 0.7085 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.878e-05/0.7202, allocations: 31.11 kB / 0.7086 GB, free: 5.816 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0008508/0.721, allocations: 418.3 kB / 0.709 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002781/0.7213, allocations: 136.5 kB / 0.7091 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004665/0.726, allocations: 1.394 MB / 0.7105 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.726, allocations: 9.844 kB / 0.7105 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.726, allocations: 1.156 kB / 0.7105 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004133/0.7302, allocations: 1.216 MB / 0.7117 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004628/0.7348, allocations: 2.391 MB / 0.714 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.7349, allocations: 9.156 kB / 0.714 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/0.7353, allocations: 119 kB / 0.7141 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005705/0.7359, allocations: 155.4 kB / 0.7143 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.53e-05/0.736, allocations: 20.05 kB / 0.7143 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007834/0.7367, allocations: 0.7194 MB / 0.715 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.7368, allocations: 3.719 kB / 0.715 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002965/0.7397, allocations: 1.663 MB / 0.7166 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008804/0.7406, allocations: 354.6 kB / 0.717 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.7408, allocations: 14.97 kB / 0.717 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009444/0.7418, allocations: 105 kB / 0.7171 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.7419, allocations: 52.2 kB / 0.7171 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-05/0.742, allocations: 35.98 kB / 0.7172 GB, free: 15.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001463/0.7435, allocations: 0.8974 MB / 0.718 GB, free: 15 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7435, allocations: 0 / 0.718 GB, free: 15 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00244/0.7459, allocations: 0.7135 MB / 0.7187 GB, free: 14.28 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.004411/0.7503, allocations: 3.481 MB / 0.7221 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002618/0.753, allocations: 1.17 MB / 0.7233 GB, free: 9.523 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.753, allocations: 0 / 0.7233 GB, free: 9.523 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000939/0.7539, allocations: 419.7 kB / 0.7237 GB, free: 9.113 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003612/0.7576, allocations: 0.7362 MB / 0.7244 GB, free: 8.387 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005766/0.7633, allocations: 5.788 MB / 0.73 GB, free: 2.441 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006684/0.764, allocations: 1.203 MB / 0.7312 GB, free: 1.211 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001194/0.7652, allocations: 313.8 kB / 0.7315 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006127/0.7659, allocations: 0.511 MB / 0.732 GB, free: 404 kB / 0.545 GB Notification: Performance of SimCode: time 6.41e-07/0.7659, allocations: 0 / 0.732 GB, free: 404 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06615/0.832, allocations: 42.3 MB / 0.7733 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/0.8323, allocations: 252.1 kB / 0.7736 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.77/3.603, allocations: 0 / 0.7736 GB, free: 6.375 MB / 0.5919 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: