Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 97.97 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.001413/0.001413, 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.332/1.332, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9803/0.9803, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.0002969, allocations: 11.98 kB / 0.5158 GB, free: 11.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1476, allocations: 83.4 MB / 0.5973 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.2933/0.441, allocations: 51.29 MB / 0.6474 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01163/0.4526, allocations: 10.33 MB / 0.6575 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.4542, allocations: 50.66 kB / 0.6575 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.4558, allocations: 0.6241 MB / 0.6581 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00459/0.4604, allocations: 1.95 MB / 0.66 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003276/0.4637, allocations: 1.311 MB / 0.6613 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002888/0.4666, allocations: 1.849 MB / 0.6631 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.4677, allocations: 0.8096 MB / 0.6639 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.4696, allocations: 0.983 MB / 0.6649 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008475/0.4705, allocations: 0.5995 MB / 0.6654 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.4706, allocations: 41.97 kB / 0.6655 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002184/0.4728, allocations: 1.003 MB / 0.6665 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.473, allocations: 196.7 kB / 0.6666 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002863/0.4733, allocations: 286 kB / 0.6669 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002021/0.4753, allocations: 1.687 MB / 0.6686 GB, free: 4 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.4753, allocations: 1.312 kB / 0.6686 GB, free: 4 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4753, allocations: 4 kB / 0.6686 GB, free: 0 / 0.4981 GB Notification: Performance of Transformations before backend: time 2.162e-05/0.4754, allocations: 0 / 0.6686 GB, free: 0 / 0.4981 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.002955/0.4783, allocations: 1.48 MB / 0.67 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.4784, allocations: 10.14 kB / 0.67 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001754/0.4801, allocations: 386.9 kB / 0.6704 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.4822, allocations: 1.041 MB / 0.6714 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003732/0.4826, allocations: 132.4 kB / 0.6715 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.4827, allocations: 78.97 kB / 0.6716 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.4847, allocations: 0.9643 MB / 0.6726 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.4848, allocations: 0.9062 kB / 0.6726 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.199e-05/0.4848, allocations: 32.09 kB / 0.6726 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-05/0.4849, allocations: 19.59 kB / 0.6726 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002162/0.487, allocations: 0.8461 MB / 0.6734 GB, free: 13.44 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.006711/0.4938, allocations: 4.827 MB / 0.6781 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.4954, allocations: 0.6083 MB / 0.6787 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001422/0.4969, allocations: 1.391 MB / 0.6801 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.4969, allocations: 41.42 kB / 0.6801 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 3.105e-06/0.4969, allocations: 1.219 kB / 0.6801 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008878/0.5058, allocations: 2.036 MB / 0.6821 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.5059, allocations: 61.03 kB / 0.6822 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.5078, allocations: 1.056 MB / 0.6832 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.5079, allocations: 38.05 kB / 0.6832 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005004/0.5084, allocations: 0.5301 MB / 0.6838 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.5086, allocations: 146.6 kB / 0.6839 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.5086, allocations: 9.5 kB / 0.6839 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.5088, allocations: 325.7 kB / 0.6842 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008117/0.5096, allocations: 283.1 kB / 0.6845 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009489/0.5106, allocations: 492.8 kB / 0.685 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008299/0.5114, allocations: 322.3 kB / 0.6853 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.5114, allocations: 1.125 kB / 0.6853 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003579/0.515, allocations: 1.16 MB / 0.6864 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005693/0.5156, allocations: 1.577 MB / 0.6879 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.5156, allocations: 4.531 kB / 0.688 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/0.5169, allocations: 336.6 kB / 0.6883 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/0.5174, allocations: 120.1 kB / 0.6884 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.5189, allocations: 0.932 MB / 0.6893 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.5204, allocations: 181.9 kB / 0.6895 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.5205, allocations: 33.55 kB / 0.6895 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.5205, allocations: 2.781 kB / 0.6895 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003291/0.5238, allocations: 1.008 MB / 0.6905 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.5238, allocations: 3.562 kB / 0.6905 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.525, allocations: 321.2 kB / 0.6908 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004664/0.5254, allocations: 118.6 kB / 0.6909 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.5269, allocations: 0.9346 MB / 0.6918 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.5282, allocations: 160.9 kB / 0.692 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.472e-05/0.5283, allocations: 33.02 kB / 0.692 GB, free: 1.641 MB / 0.5137 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006453/0.529, allocations: 349.8 kB / 0.6923 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.5292, allocations: 107 kB / 0.6924 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00383/0.533, allocations: 1.166 MB / 0.6936 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.5331, allocations: 6.469 kB / 0.6936 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.5331, allocations: 0.9688 kB / 0.6936 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.5331, allocations: 2.906 kB / 0.6936 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005444/0.5385, allocations: 2.167 MB / 0.6957 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.5386, allocations: 2.438 kB / 0.6957 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.5388, allocations: 54.17 kB / 0.6958 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/0.5399, allocations: 332.7 kB / 0.6961 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.051e-05/0.5399, allocations: 21.41 kB / 0.6961 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/0.5415, allocations: 0.9675 MB / 0.697 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/0.5415, allocations: 7.047 kB / 0.6971 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003531/0.545, allocations: 1.305 MB / 0.6983 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006537/0.5457, allocations: 285.5 kB / 0.6986 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.5459, allocations: 13.84 kB / 0.6986 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008574/0.5467, allocations: 96.44 kB / 0.6987 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.693e-05/0.5468, allocations: 43.42 kB / 0.6987 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-05/0.5469, allocations: 27.47 kB / 0.6988 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001268/0.5482, allocations: 0.7481 MB / 0.6995 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.61e-07/0.5482, allocations: 0 / 0.6995 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001774/0.55, allocations: 0.574 MB / 0.7001 GB, free: 13.79 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (33): * Single equations (assignments): 28 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008062/0.5508, allocations: 410.1 kB / 0.7005 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002837/0.5536, allocations: 1.048 MB / 0.7015 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5536, allocations: 1.594 kB / 0.7015 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007941/0.5544, allocations: 333 kB / 0.7018 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/0.5568, allocations: 498.9 kB / 0.7023 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/0.5603, allocations: 2.203 MB / 0.7044 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006336/0.561, allocations: 1.085 MB / 0.7055 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009088/0.5619, allocations: 218.6 kB / 0.7057 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.5621, allocations: 76.25 kB / 0.7058 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of SimCode: time 7.41e-07/0.5621, allocations: 2.625 kB / 0.7058 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of Templates: time 0.03697/0.599, allocations: 23.8 MB / 0.729 GB, free: 4.16 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) Environment - environmentSimulation: