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.00104/0.00104, allocations: 87.3 kB / 15.06 MB, free: 1.082 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.001282/0.001282, allocations: 176.7 kB / 15.96 MB, free: 196 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.333/1.333, allocations: 223.3 MB / 240 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9662/0.9662, allocations: 143.4 MB / 434.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.00034, allocations: 8 kB / 0.5161 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1537, allocations: 83.43 MB / 0.5975 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.3752/0.529, allocations: 69.44 MB / 0.6654 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02362/0.5527, allocations: 14.2 MB / 0.6792 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003259/0.556, allocations: 57.59 kB / 0.6793 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002717/0.5588, allocations: 0.5635 MB / 0.6798 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008767/0.5675, allocations: 1.988 MB / 0.6818 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00433/0.5719, allocations: 0.9729 MB / 0.6827 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01079/0.5827, allocations: 4.794 MB / 0.6874 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003045/0.5858, allocations: 1.024 MB / 0.6884 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00488/0.5907, allocations: 1.283 MB / 0.6896 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003494/0.5942, allocations: 1.077 MB / 0.6907 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002335/0.5945, allocations: 55.34 kB / 0.6908 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00425/0.5987, allocations: 0.9394 MB / 0.6917 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005111/0.5993, allocations: 272.4 kB / 0.6919 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008518/0.6001, allocations: 356.5 kB / 0.6923 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005042/0.6052, allocations: 2.234 MB / 0.6945 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/0.6052, allocations: 1.188 kB / 0.6945 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.766e-06/0.6052, allocations: 0 / 0.6945 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.646e-05/0.6053, allocations: 0 / 0.6945 GB, free: 14.39 MB / 0.5294 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.007197/0.6125, allocations: 1.815 MB / 0.6962 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.285e-05/0.6126, allocations: 10.28 kB / 0.6962 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007108/0.6133, allocations: 144.8 kB / 0.6964 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.6146, allocations: 240.7 kB / 0.6966 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003982/0.6186, allocations: 1.445 MB / 0.698 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.6188, allocations: 80.55 kB / 0.6981 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002318/0.619, allocations: 104.4 kB / 0.6982 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/0.622, allocations: 1.122 MB / 0.6993 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/0.622, allocations: 3.938 kB / 0.6993 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.6221, allocations: 45.2 kB / 0.6993 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.688e-05/0.6222, allocations: 28.52 kB / 0.6994 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/0.6245, allocations: 0.9225 MB / 0.7003 GB, free: 11.23 MB / 0.5294 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.008334/0.6328, allocations: 4.928 MB / 0.7051 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.6344, allocations: 0.6389 MB / 0.7057 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008232/0.6353, allocations: 362.6 kB / 0.706 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008747/0.6362, allocations: 0.8365 MB / 0.7069 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.964e-05/0.6362, allocations: 43.69 kB / 0.7069 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 3.887e-06/0.6362, allocations: 0 / 0.7069 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.00519/0.6414, allocations: 1.517 MB / 0.7084 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.6415, allocations: 58.06 kB / 0.7084 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/0.6437, allocations: 1.202 MB / 0.7096 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.6438, allocations: 39.95 kB / 0.7096 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006206/0.6444, allocations: 0.6034 MB / 0.7102 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/0.6447, allocations: 216.2 kB / 0.7104 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.6448, allocations: 14.22 kB / 0.7105 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.6449, allocations: 344.8 kB / 0.7108 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007084/0.6457, allocations: 295.4 kB / 0.7111 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009554/0.6466, allocations: 0.5022 MB / 0.7116 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008808/0.6475, allocations: 360 kB / 0.7119 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.6475, allocations: 1.031 kB / 0.7119 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004766/0.6523, allocations: 1.395 MB / 0.7133 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001851/0.6525, allocations: 196.4 kB / 0.7135 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.6525, allocations: 3.406 kB / 0.7135 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007642/0.6533, allocations: 158.6 kB / 0.7136 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006428/0.6539, allocations: 163.9 kB / 0.7138 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009185/0.6549, allocations: 0.7271 MB / 0.7145 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.6564, allocations: 167.5 kB / 0.7146 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-05/0.6565, allocations: 32.36 kB / 0.7147 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.6566, allocations: 3.281 kB / 0.7147 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00414/0.6607, allocations: 1.243 MB / 0.7159 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.6607, allocations: 3.312 kB / 0.7159 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005665/0.6613, allocations: 160.6 kB / 0.716 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/0.6619, allocations: 166.2 kB / 0.7162 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008575/0.6627, allocations: 0.7277 MB / 0.7169 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.6643, allocations: 160.2 kB / 0.7171 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.6644, allocations: 35.98 kB / 0.7171 GB, free: 15.46 MB / 0.545 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.001082/0.6655, allocations: 422.3 kB / 0.7175 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005166/0.666, allocations: 131.2 kB / 0.7176 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005/0.671, allocations: 1.389 MB / 0.719 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.624e-05/0.6711, allocations: 13.89 kB / 0.719 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.6711, allocations: 1.781 kB / 0.719 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004173/0.6753, allocations: 1.215 MB / 0.7202 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005636/0.6809, allocations: 2.357 MB / 0.7225 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.681, allocations: 3.938 kB / 0.7225 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000483/0.6815, allocations: 119.9 kB / 0.7226 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005912/0.6821, allocations: 159.2 kB / 0.7228 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.263e-05/0.6822, allocations: 19.98 kB / 0.7228 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008299/0.683, allocations: 0.7162 MB / 0.7235 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.683, allocations: 7.938 kB / 0.7235 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002946/0.686, allocations: 1.454 MB / 0.7249 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.6871, allocations: 335 kB / 0.7252 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004833/0.6876, allocations: 20 kB / 0.7252 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/0.6889, allocations: 97.69 kB / 0.7253 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.689, allocations: 56.27 kB / 0.7254 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.702e-05/0.6891, allocations: 39.97 kB / 0.7254 GB, free: 7.887 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001683/0.6908, allocations: 0.8545 MB / 0.7263 GB, free: 7.031 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.51e-07/0.6908, allocations: 0 / 0.7263 GB, free: 7.031 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00317/0.694, allocations: 0.6979 MB / 0.7269 GB, free: 6.332 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.004598/0.6986, allocations: 2.333 MB / 0.7292 GB, free: 3.938 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002874/0.7015, allocations: 1.17 MB / 0.7304 GB, free: 2.773 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.7016, allocations: 8.125 kB / 0.7304 GB, free: 2.766 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009415/0.7025, allocations: 411.6 kB / 0.7308 GB, free: 2.363 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004819/0.7073, allocations: 0.762 MB / 0.7315 GB, free: 1.613 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02498/0.7323, allocations: 8.363 MB / 0.7397 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.7334, allocations: 1.168 MB / 0.7408 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001737/0.7352, allocations: 319.6 kB / 0.7411 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008821/0.7361, allocations: 0.511 MB / 0.7416 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of SimCode: time 9.42e-07/0.7361, allocations: 0 / 0.7416 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07995/0.816, allocations: 42.34 MB / 0.783 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002454/0.8163, allocations: 261.5 kB / 0.7832 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.909/3.725, allocations: 4 kB / 0.7832 GB, free: 12.79 MB / 0.6075 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: