Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009941/0.0009941, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007679/0.007679, allocations: 169.7 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9878/0.9878, allocations: 143.2 MB / 434.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003567, allocations: 11.98 kB / 0.5164 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1668, allocations: 83.41 MB / 0.5978 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.3629/0.5297, allocations: 59.72 MB / 0.6562 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01586/0.5456, allocations: 11.93 MB / 0.6678 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003028/0.5487, allocations: 53.16 kB / 0.6679 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.5508, allocations: 0.5463 MB / 0.6684 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007322/0.5582, allocations: 1.816 MB / 0.6702 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003537/0.5617, allocations: 1.078 MB / 0.6712 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005997/0.5677, allocations: 3.9 MB / 0.675 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001886/0.5697, allocations: 0.9211 MB / 0.6759 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003023/0.5727, allocations: 1.12 MB / 0.677 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002055/0.5748, allocations: 0.8691 MB / 0.6779 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001742/0.575, allocations: 42.72 kB / 0.6779 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003413/0.5784, allocations: 1.328 MB / 0.6792 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003469/0.5787, allocations: 211.9 kB / 0.6794 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.5798, allocations: 0.6324 MB / 0.68 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004824/0.5847, allocations: 2.304 MB / 0.6823 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.5847, allocations: 5.031 kB / 0.6823 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5847, allocations: 0 / 0.6823 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.843e-05/0.5848, allocations: 0 / 0.6823 GB, free: 6.719 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003675/0.5884, allocations: 1.497 MB / 0.6837 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5885, allocations: 13.44 kB / 0.6838 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002754/0.5912, allocations: 0.5144 MB / 0.6843 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002696/0.594, allocations: 1.146 MB / 0.6854 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004076/0.5944, allocations: 124.1 kB / 0.6855 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.5946, allocations: 85.06 kB / 0.6856 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002649/0.5972, allocations: 1.038 MB / 0.6866 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.5972, allocations: 0 / 0.6866 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.279e-05/0.5973, allocations: 31.12 kB / 0.6866 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.5974, allocations: 19.75 kB / 0.6866 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002916/0.6003, allocations: 1.008 MB / 0.6876 GB, free: 4.035 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.007831/0.6081, allocations: 4.723 MB / 0.6922 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004598/0.6127, allocations: 1.143 MB / 0.6934 GB, free: 272 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.6141, allocations: 438.8 kB / 0.6938 GB, free: 140 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/0.6152, allocations: 1.027 MB / 0.6948 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.6153, allocations: 37.78 kB / 0.6948 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 2.405e-06/0.6153, allocations: 4 kB / 0.6948 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=53): time 0.01133/0.6266, allocations: 2.502 MB / 0.6973 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.6267, allocations: 61.47 kB / 0.6973 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/0.6284, allocations: 0.935 MB / 0.6982 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001329/0.6286, allocations: 42.08 kB / 0.6983 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005176/0.6291, allocations: 0.4999 MB / 0.6988 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002422/0.6294, allocations: 183.7 kB / 0.6989 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.6295, allocations: 49.39 kB / 0.699 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.6296, allocations: 325.2 kB / 0.6993 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.6308, allocations: 385.7 kB / 0.6997 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.6321, allocations: 0.5504 MB / 0.7002 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002309/0.6345, allocations: 0.8208 MB / 0.701 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.6345, allocations: 5.062 kB / 0.701 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003409/0.6379, allocations: 1.144 MB / 0.7021 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.6381, allocations: 168.7 kB / 0.7023 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.6381, allocations: 2.156 kB / 0.7023 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001422/0.6395, allocations: 331.5 kB / 0.7026 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007044/0.6402, allocations: 136 kB / 0.7027 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/0.6418, allocations: 0.9439 MB / 0.7036 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.6435, allocations: 175.1 kB / 0.7038 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.86e-05/0.6436, allocations: 28.83 kB / 0.7038 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.6436, allocations: 5.188 kB / 0.7038 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003058/0.6467, allocations: 1.004 MB / 0.7048 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.6467, allocations: 2.781 kB / 0.7048 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.6479, allocations: 327.6 kB / 0.7051 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006628/0.6486, allocations: 142.1 kB / 0.7053 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001574/0.6502, allocations: 0.9359 MB / 0.7062 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.6517, allocations: 170.1 kB / 0.7064 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.6518, allocations: 28.48 kB / 0.7064 GB, free: 9.445 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0007346/0.6526, allocations: 350 kB / 0.7067 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002618/0.6528, allocations: 106.5 kB / 0.7068 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005031/0.6579, allocations: 1.444 MB / 0.7082 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/0.6579, allocations: 13.62 kB / 0.7082 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.658, allocations: 5.453 kB / 0.7082 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.658, allocations: 4 kB / 0.7082 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006877/0.6649, allocations: 2.525 MB / 0.7107 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/0.665, allocations: 2.562 kB / 0.7107 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006137/0.6656, allocations: 113.4 kB / 0.7108 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001256/0.6668, allocations: 332 kB / 0.7111 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-05/0.6669, allocations: 23.92 kB / 0.7112 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.6687, allocations: 0.9702 MB / 0.7121 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.6687, allocations: 1.906 kB / 0.7121 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004836/0.6736, allocations: 1.459 MB / 0.7135 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008038/0.6744, allocations: 291.5 kB / 0.7138 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.6745, allocations: 15.98 kB / 0.7138 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.6756, allocations: 119.8 kB / 0.7139 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.6757, allocations: 48.31 kB / 0.714 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.957e-05/0.6758, allocations: 23.98 kB / 0.714 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001115/0.6769, allocations: 0.6596 MB / 0.7147 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6769, allocations: 3.938 kB / 0.7147 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002057/0.679, allocations: 0.5692 MB / 0.7152 GB, free: 3.043 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001066/0.68, allocations: 396.5 kB / 0.7156 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00412/0.6842, allocations: 1.41 MB / 0.717 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.6842, allocations: 0 / 0.717 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.6855, allocations: 484.9 kB / 0.7174 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/0.6885, allocations: 0.4954 MB / 0.7179 GB, free: 296 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004724/0.6933, allocations: 2.375 MB / 0.7202 GB, free: 13.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007092/0.694, allocations: 1.066 MB / 0.7213 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001176/0.6952, allocations: 233 kB / 0.7215 GB, free: 12.56 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.6954, allocations: 79.42 kB / 0.7216 GB, free: 12.48 MB / 0.545 GB Notification: Performance of SimCode: time 1.223e-06/0.6954, allocations: 4 kB / 0.7216 GB, free: 12.48 MB / 0.545 GB Notification: Performance of Templates: time 0.04076/0.7362, allocations: 23.9 MB / 0.7449 GB, free: 4.887 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)