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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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_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.001033/0.001033, allocations: 97.41 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.007694/0.007694, allocations: 169.8 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.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9822/0.9822, allocations: 143.4 MB / 434.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.0003249, allocations: 12 kB / 0.5166 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1494, allocations: 83.41 MB / 0.5981 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.3034/0.4529, allocations: 59.72 MB / 0.6564 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01614/0.469, allocations: 11.93 MB / 0.6681 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/0.4711, allocations: 56.84 kB / 0.6681 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.4729, allocations: 0.55 MB / 0.6686 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005642/0.4785, allocations: 1.806 MB / 0.6704 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003384/0.4819, allocations: 1.076 MB / 0.6715 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005427/0.4874, allocations: 3.917 MB / 0.6753 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00166/0.489, allocations: 0.9196 MB / 0.6762 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002624/0.4917, allocations: 1.112 MB / 0.6773 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/0.4933, allocations: 0.8718 MB / 0.6781 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.4935, allocations: 48.84 kB / 0.6782 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003283/0.4967, allocations: 1.323 MB / 0.6795 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002822/0.497, allocations: 212.6 kB / 0.6797 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008298/0.4979, allocations: 0.6358 MB / 0.6803 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003915/0.5018, allocations: 2.305 MB / 0.6825 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.5018, allocations: 0 / 0.6825 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5018, allocations: 1.156 kB / 0.6825 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.164e-05/0.5019, allocations: 0 / 0.6825 GB, free: 6.293 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.003302/0.5052, allocations: 1.501 MB / 0.684 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.5052, allocations: 10.03 kB / 0.684 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002784/0.508, allocations: 0.5104 MB / 0.6845 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/0.5104, allocations: 1.145 MB / 0.6856 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003869/0.5108, allocations: 133.2 kB / 0.6858 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.5109, allocations: 79.81 kB / 0.6858 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.5133, allocations: 1.034 MB / 0.6868 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.5134, allocations: 0 / 0.6868 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-05/0.5135, allocations: 33.81 kB / 0.6869 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.5135, allocations: 22.84 kB / 0.6869 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003105/0.5166, allocations: 1.007 MB / 0.6879 GB, free: 3.609 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.007033/0.5236, allocations: 4.722 MB / 0.6925 GB, free: 156 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004383/0.528, allocations: 1.128 MB / 0.6936 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/0.5292, allocations: 444.5 kB / 0.694 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009655/0.5302, allocations: 1.034 MB / 0.695 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.5302, allocations: 38.61 kB / 0.6951 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 2.124e-06/0.5303, allocations: 0 / 0.6951 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=53): time 0.01121/0.5415, allocations: 2.501 MB / 0.6975 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.5416, allocations: 61.84 kB / 0.6976 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/0.5435, allocations: 0.9311 MB / 0.6985 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001644/0.5437, allocations: 42.55 kB / 0.6985 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005395/0.5442, allocations: 0.5075 MB / 0.699 GB, free: 13 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002755/0.5445, allocations: 178.8 kB / 0.6992 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.5446, allocations: 48.2 kB / 0.6992 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.5448, allocations: 334.9 kB / 0.6995 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.546, allocations: 381.7 kB / 0.6999 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/0.5474, allocations: 0.5479 MB / 0.7004 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002347/0.5498, allocations: 0.8195 MB / 0.7012 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.5498, allocations: 1 kB / 0.7012 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003474/0.5533, allocations: 1.147 MB / 0.7024 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.5534, allocations: 163.9 kB / 0.7025 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.5534, allocations: 10.53 kB / 0.7025 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/0.5549, allocations: 327.2 kB / 0.7028 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007203/0.5556, allocations: 142.7 kB / 0.703 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.5573, allocations: 0.9426 MB / 0.7039 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.5587, allocations: 174 kB / 0.7041 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-05/0.5588, allocations: 27.98 kB / 0.7041 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.727e-06/0.5588, allocations: 3.344 kB / 0.7041 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003044/0.5619, allocations: 1.005 MB / 0.7051 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.5619, allocations: 7.438 kB / 0.7051 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/0.5632, allocations: 327.1 kB / 0.7054 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.5638, allocations: 142.5 kB / 0.7055 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.5654, allocations: 0.9364 MB / 0.7064 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.5668, allocations: 173.1 kB / 0.7066 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.695e-05/0.5669, allocations: 27.45 kB / 0.7066 GB, free: 8.871 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.000665/0.5676, allocations: 342.2 kB / 0.707 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/0.5678, allocations: 107.2 kB / 0.7071 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005234/0.5731, allocations: 1.454 MB / 0.7085 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.5731, allocations: 5.906 kB / 0.7085 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.5731, allocations: 0 / 0.7085 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.5732, allocations: 5.234 kB / 0.7085 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006792/0.5799, allocations: 2.54 MB / 0.711 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.58, allocations: 1.75 kB / 0.711 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006192/0.5806, allocations: 117.8 kB / 0.7111 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001179/0.5818, allocations: 322.8 kB / 0.7114 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.555e-05/0.5819, allocations: 20.23 kB / 0.7114 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.5835, allocations: 0.9692 MB / 0.7124 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5835, allocations: 2.75 kB / 0.7124 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005009/0.5886, allocations: 1.457 MB / 0.7138 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007389/0.5893, allocations: 291.5 kB / 0.7141 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003001/0.5896, allocations: 16 kB / 0.7141 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/0.5909, allocations: 127.8 kB / 0.7142 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.591, allocations: 40.33 kB / 0.7142 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.883e-05/0.5911, allocations: 27.97 kB / 0.7143 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00113/0.5923, allocations: 0.6557 MB / 0.7149 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5923, allocations: 0 / 0.7149 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001973/0.5943, allocations: 0.5652 MB / 0.7155 GB, free: 2.492 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.001023/0.5953, allocations: 400.1 kB / 0.7158 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004315/0.5996, allocations: 1.398 MB / 0.7172 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.5996, allocations: 0 / 0.7172 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001454/0.6011, allocations: 492.8 kB / 0.7177 GB, free: 228 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003184/0.6043, allocations: 0.5015 MB / 0.7182 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004383/0.6087, allocations: 2.379 MB / 0.7205 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006364/0.6093, allocations: 1.066 MB / 0.7215 GB, free: 12.21 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001085/0.6104, allocations: 236.2 kB / 0.7218 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/0.6107, allocations: 83.41 kB / 0.7218 GB, free: 11.91 MB / 0.545 GB Notification: Performance of SimCode: time 4.6e-07/0.6107, allocations: 0 / 0.7218 GB, free: 11.91 MB / 0.545 GB Notification: Performance of Templates: time 0.04001/0.6507, allocations: 23.89 MB / 0.7452 GB, free: 4.336 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)