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: translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, 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.001481/0.001481, 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.294/1.294, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.957/0.957, allocations: 143.3 MB / 434.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003284, allocations: 12 kB / 0.5158 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.147, allocations: 83.41 MB / 0.5973 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.328/0.475, allocations: 62.98 MB / 0.6588 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01653/0.4916, allocations: 13.01 MB / 0.6715 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002108/0.4938, allocations: 53.31 kB / 0.6715 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002493/0.4963, allocations: 0.7429 MB / 0.6723 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00719/0.5035, allocations: 2.408 MB / 0.6746 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004586/0.5081, allocations: 1.529 MB / 0.6761 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004767/0.5129, allocations: 2.506 MB / 0.6786 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001996/0.5149, allocations: 1.044 MB / 0.6796 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002883/0.5178, allocations: 1.172 MB / 0.6807 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.5197, allocations: 0.7878 MB / 0.6815 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003361/0.52, allocations: 55.56 kB / 0.6815 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002914/0.5229, allocations: 0.8473 MB / 0.6824 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004597/0.5234, allocations: 264.2 kB / 0.6826 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000725/0.5242, allocations: 356.3 kB / 0.683 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00325/0.5274, allocations: 2.169 MB / 0.6851 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.5274, allocations: 4 kB / 0.6851 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5274, allocations: 1.125 kB / 0.6851 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.052e-05/0.5275, allocations: 0 / 0.6851 GB, free: 4.789 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.004468/0.532, allocations: 1.796 MB / 0.6868 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.532, allocations: 8.25 kB / 0.6868 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.5331, allocations: 242.5 kB / 0.6871 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00301/0.5361, allocations: 1.382 MB / 0.6884 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.291e-05/0.5362, allocations: 76.97 kB / 0.6885 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/0.5364, allocations: 100.6 kB / 0.6886 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/0.5388, allocations: 1.107 MB / 0.6897 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.5388, allocations: 1.625 kB / 0.6897 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.5389, allocations: 40.84 kB / 0.6897 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.051e-05/0.539, allocations: 25.95 kB / 0.6897 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.5412, allocations: 0.9367 MB / 0.6907 GB, free: 1.781 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.007104/0.5483, allocations: 4.972 MB / 0.6955 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.5499, allocations: 0.6478 MB / 0.6961 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006676/0.5505, allocations: 0.8288 MB / 0.697 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.5506, allocations: 47.11 kB / 0.697 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.625e-06/0.5506, allocations: 0 / 0.697 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.0053/0.5559, allocations: 1.511 MB / 0.6985 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.556, allocations: 58.12 kB / 0.6985 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/0.558, allocations: 1.249 MB / 0.6997 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.5581, allocations: 42.98 kB / 0.6998 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005612/0.5587, allocations: 0.6063 MB / 0.7004 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002357/0.5589, allocations: 215.3 kB / 0.7006 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.559, allocations: 14.88 kB / 0.7006 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.5591, allocations: 336.2 kB / 0.7009 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007098/0.5598, allocations: 296.1 kB / 0.7012 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009056/0.5607, allocations: 0.4922 MB / 0.7017 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008176/0.5615, allocations: 358.9 kB / 0.702 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.5616, allocations: 1.406 kB / 0.702 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005187/0.5668, allocations: 1.395 MB / 0.7034 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005158/0.5673, allocations: 1.34 MB / 0.7047 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.5673, allocations: 2.906 kB / 0.7047 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007529/0.5681, allocations: 164.2 kB / 0.7049 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000678/0.5688, allocations: 161.9 kB / 0.705 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009109/0.5697, allocations: 0.7402 MB / 0.7057 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.5711, allocations: 167.3 kB / 0.7059 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.5712, allocations: 36.05 kB / 0.7059 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/0.5713, allocations: 7.406 kB / 0.7059 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004679/0.5759, allocations: 1.243 MB / 0.7072 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.576, allocations: 3.125 kB / 0.7072 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006064/0.5766, allocations: 159.2 kB / 0.7073 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006501/0.5772, allocations: 166.5 kB / 0.7075 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008529/0.5781, allocations: 0.7247 MB / 0.7082 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.5795, allocations: 162.2 kB / 0.7083 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.661e-05/0.5796, allocations: 35.61 kB / 0.7084 GB, free: 6.172 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.0007668/0.5804, allocations: 421.6 kB / 0.7088 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003226/0.5807, allocations: 137 kB / 0.7089 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004902/0.5856, allocations: 1.395 MB / 0.7103 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.5856, allocations: 10.47 kB / 0.7103 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.5856, allocations: 0 / 0.7103 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00436/0.59, allocations: 1.216 MB / 0.7115 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004488/0.5945, allocations: 2.388 MB / 0.7138 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.5945, allocations: 6.922 kB / 0.7138 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.595, allocations: 121.2 kB / 0.7139 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005755/0.5956, allocations: 159.6 kB / 0.7141 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.135e-05/0.5957, allocations: 15.59 kB / 0.7141 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008194/0.5965, allocations: 0.7166 MB / 0.7148 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.5965, allocations: 7.875 kB / 0.7148 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/0.5995, allocations: 1.667 MB / 0.7164 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007633/0.6003, allocations: 353.9 kB / 0.7167 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002741/0.6006, allocations: 14.88 kB / 0.7168 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.6016, allocations: 96.53 kB / 0.7169 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.6017, allocations: 60.25 kB / 0.7169 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-05/0.6018, allocations: 27.98 kB / 0.7169 GB, free: 256 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001356/0.6032, allocations: 0.9013 MB / 0.7178 GB, free: 15.35 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6032, allocations: 0 / 0.7178 GB, free: 15.35 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002135/0.6053, allocations: 0.7135 MB / 0.7185 GB, free: 14.63 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.0009444/0.6063, allocations: 470.3 kB / 0.719 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002724/0.609, allocations: 1.162 MB / 0.7201 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.609, allocations: 0 / 0.7201 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009758/0.61, allocations: 415.7 kB / 0.7205 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003589/0.6136, allocations: 0.7464 MB / 0.7212 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004184/0.6178, allocations: 2.769 MB / 0.7239 GB, free: 9.031 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007902/0.6186, allocations: 1.2 MB / 0.7251 GB, free: 7.801 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001253/0.6199, allocations: 312.3 kB / 0.7254 GB, free: 7.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/0.6202, allocations: 103.4 kB / 0.7255 GB, free: 7.402 MB / 0.545 GB Notification: Performance of SimCode: time 5e-07/0.6202, allocations: 0 / 0.7255 GB, free: 7.402 MB / 0.545 GB Notification: Performance of Templates: time 0.04761/0.6678, allocations: 30.28 MB / 0.7551 GB, free: 9.555 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile Environment - environmentSimulation: (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: