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.0008136/0.0008134, allocations: 92.16 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 182.6 kB / 16.92 MB, free: 6.926 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.34 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.9832/0.9832, allocations: 143.2 MB / 435.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 12 kB / 0.517 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1748, allocations: 83.41 MB / 0.5985 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.3383/0.5132, allocations: 59.72 MB / 0.6568 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01546/0.5287, allocations: 11.94 MB / 0.6685 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002641/0.5314, allocations: 48.97 kB / 0.6685 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.5333, allocations: 0.5503 MB / 0.6691 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005592/0.5389, allocations: 1.799 MB / 0.6708 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003083/0.542, allocations: 1.078 MB / 0.6719 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00589/0.5479, allocations: 3.916 MB / 0.6757 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.5498, allocations: 0.9147 MB / 0.6766 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003184/0.553, allocations: 1.112 MB / 0.6777 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001959/0.5549, allocations: 0.8719 MB / 0.6785 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.5551, allocations: 47.41 kB / 0.6786 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003691/0.5588, allocations: 1.331 MB / 0.6799 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000328/0.5591, allocations: 208.1 kB / 0.6801 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009835/0.5601, allocations: 0.6394 MB / 0.6807 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003373/0.5635, allocations: 1.795 MB / 0.6824 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5635, allocations: 0 / 0.6824 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.855e-06/0.5636, allocations: 0 / 0.6824 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.782e-05/0.5636, allocations: 0 / 0.6824 GB, free: 6.734 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.003811/0.5674, allocations: 1.498 MB / 0.6839 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.5675, allocations: 9.75 kB / 0.6839 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002894/0.5704, allocations: 0.5222 MB / 0.6844 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00273/0.5731, allocations: 1.142 MB / 0.6855 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000384/0.5735, allocations: 132.4 kB / 0.6857 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.5737, allocations: 83.97 kB / 0.6857 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002484/0.5762, allocations: 1.035 MB / 0.6868 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.5762, allocations: 8.656 kB / 0.6868 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.973e-05/0.5763, allocations: 31.5 kB / 0.6868 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.5763, allocations: 18.94 kB / 0.6868 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00305/0.5794, allocations: 1.008 MB / 0.6878 GB, free: 4.039 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.008336/0.5877, allocations: 4.716 MB / 0.6924 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004455/0.5922, allocations: 1.137 MB / 0.6935 GB, free: 288 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/0.5934, allocations: 448.2 kB / 0.6939 GB, free: 148 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/0.5945, allocations: 1.031 MB / 0.6949 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.5946, allocations: 37.47 kB / 0.695 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 2.825e-06/0.5946, allocations: 0 / 0.695 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=53): time 0.01095/0.6055, allocations: 2.498 MB / 0.6974 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.6056, allocations: 61.55 kB / 0.6975 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.6073, allocations: 0.9389 MB / 0.6984 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.6074, allocations: 38.48 kB / 0.6984 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/0.6079, allocations: 0.4988 MB / 0.6989 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/0.6081, allocations: 183.8 kB / 0.6991 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.466e-05/0.6082, allocations: 48.44 kB / 0.6991 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.6084, allocations: 326.8 kB / 0.6995 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.6095, allocations: 384.7 kB / 0.6998 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.6109, allocations: 0.5475 MB / 0.7004 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002279/0.6131, allocations: 0.8197 MB / 0.7012 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.6132, allocations: 2.469 kB / 0.7012 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003314/0.6165, allocations: 1.143 MB / 0.7023 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.6166, allocations: 177 kB / 0.7024 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.6166, allocations: 2.281 kB / 0.7024 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001438/0.6181, allocations: 331.2 kB / 0.7028 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006937/0.6188, allocations: 141.4 kB / 0.7029 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/0.6204, allocations: 0.943 MB / 0.7038 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.622, allocations: 169.9 kB / 0.704 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.341e-05/0.6221, allocations: 28.58 kB / 0.704 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.6221, allocations: 3.594 kB / 0.704 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003132/0.6253, allocations: 1.009 MB / 0.705 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.6253, allocations: 2.531 kB / 0.705 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.6265, allocations: 331.3 kB / 0.7053 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000672/0.6272, allocations: 142.4 kB / 0.7055 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.6288, allocations: 0.9351 MB / 0.7064 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.6303, allocations: 169.1 kB / 0.7065 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.374e-05/0.6304, allocations: 28.23 kB / 0.7066 GB, free: 9.438 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.0007517/0.6311, allocations: 354.6 kB / 0.7069 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.6314, allocations: 106.1 kB / 0.707 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004891/0.6363, allocations: 1.441 MB / 0.7084 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.657e-05/0.6363, allocations: 9.391 kB / 0.7084 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.6363, allocations: 5.375 kB / 0.7084 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.6363, allocations: 0 / 0.7084 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006556/0.6429, allocations: 2.534 MB / 0.7109 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.643, allocations: 5.75 kB / 0.7109 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005723/0.6435, allocations: 112.2 kB / 0.711 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/0.6447, allocations: 332.1 kB / 0.7113 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.986e-05/0.6447, allocations: 26.08 kB / 0.7113 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.6463, allocations: 0.9632 MB / 0.7123 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.6463, allocations: 2.156 kB / 0.7123 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004832/0.6511, allocations: 1.458 MB / 0.7137 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000786/0.652, allocations: 289.4 kB / 0.714 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.6521, allocations: 15.98 kB / 0.714 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.6531, allocations: 132.7 kB / 0.7141 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.6532, allocations: 36.33 kB / 0.7142 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-05/0.6533, allocations: 23.98 kB / 0.7142 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001014/0.6543, allocations: 0.6596 MB / 0.7148 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.793e-06/0.6543, allocations: 0 / 0.7148 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001808/0.6562, allocations: 0.5691 MB / 0.7154 GB, free: 3.359 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.001099/0.6573, allocations: 393.5 kB / 0.7158 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00404/0.6613, allocations: 1.406 MB / 0.7171 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.6613, allocations: 0 / 0.7171 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.6627, allocations: 488.9 kB / 0.7176 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003179/0.6659, allocations: 0.4979 MB / 0.7181 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00444/0.6703, allocations: 2.408 MB / 0.7204 GB, free: 14.15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006051/0.6709, allocations: 1.07 MB / 0.7215 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/0.6713, allocations: 83.41 kB / 0.7216 GB, free: 12.97 MB / 0.545 GB Notification: Performance of SimCode: time 1.072e-06/0.6713, allocations: 0 / 0.7216 GB, free: 12.97 MB / 0.545 GB Notification: Performance of Templates: time 0.03529/0.7066, allocations: 24.09 MB / 0.7451 GB, free: 5.078 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)