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.0008193/0.0008194, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.000874/0.0008741, allocations: 172.7 kB / 15.95 MB, free: 208 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.141/1.141, allocations: 223.3 MB / 240 MB, free: 5.23 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.8498/0.8498, allocations: 143.2 MB / 434.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00026/0.00026, allocations: 8 kB / 0.5158 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1193, allocations: 83.42 MB / 0.5972 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.2467/0.366, allocations: 56.47 MB / 0.6524 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009924/0.376, allocations: 11.24 MB / 0.6634 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009113/0.3769, allocations: 51.28 kB / 0.6634 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009325/0.3779, allocations: 469.4 kB / 0.6639 GB, free: 448 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002701/0.3806, allocations: 1.534 MB / 0.6654 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.3824, allocations: 0.8585 MB / 0.6662 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003237/0.3857, allocations: 3.392 MB / 0.6695 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.3868, allocations: 0.8158 MB / 0.6703 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/0.3885, allocations: 1.04 MB / 0.6713 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009748/0.3895, allocations: 0.8139 MB / 0.6721 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.3896, allocations: 42.78 kB / 0.6722 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.3915, allocations: 1.095 MB / 0.6732 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.3917, allocations: 206.7 kB / 0.6734 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002626/0.392, allocations: 282.5 kB / 0.6737 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.3937, allocations: 1.74 MB / 0.6754 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3938, allocations: 0 / 0.6754 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3938, allocations: 1.406 kB / 0.6754 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.3938, allocations: 0 / 0.6754 GB, free: 11.56 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.002342/0.3961, allocations: 1.509 MB / 0.6769 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.3962, allocations: 9.969 kB / 0.6769 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002085/0.3983, allocations: 0.5138 MB / 0.6774 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/0.4001, allocations: 1.098 MB / 0.6785 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002981/0.4004, allocations: 128.5 kB / 0.6786 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.4005, allocations: 92.03 kB / 0.6787 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.4024, allocations: 1.027 MB / 0.6797 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.4024, allocations: 3.938 kB / 0.6797 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.391e-05/0.4025, allocations: 36.23 kB / 0.6797 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.4025, allocations: 19.31 kB / 0.6797 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/0.4049, allocations: 1.003 MB / 0.6807 GB, free: 8.914 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.005324/0.4102, allocations: 4.715 MB / 0.6853 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003484/0.4137, allocations: 1.139 MB / 0.6864 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009365/0.4146, allocations: 444.8 kB / 0.6868 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008296/0.4155, allocations: 1.027 MB / 0.6878 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.4155, allocations: 45.25 kB / 0.6879 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 1.893e-06/0.4155, allocations: 0 / 0.6879 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.00805/0.4236, allocations: 2.482 MB / 0.6903 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.4236, allocations: 58.42 kB / 0.6904 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.4247, allocations: 0.9255 MB / 0.6913 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.479e-05/0.4248, allocations: 38.27 kB / 0.6913 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003753/0.4252, allocations: 0.5072 MB / 0.6918 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.4253, allocations: 179.4 kB / 0.692 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.4254, allocations: 14.59 kB / 0.692 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.4255, allocations: 330.2 kB / 0.6923 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009106/0.4264, allocations: 378.5 kB / 0.6927 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.4274, allocations: 0.5351 MB / 0.6932 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009153/0.4283, allocations: 401.5 kB / 0.6936 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.4284, allocations: 0 / 0.6936 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002422/0.4308, allocations: 1.123 MB / 0.6947 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.447e-05/0.4309, allocations: 164 kB / 0.6948 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.4309, allocations: 6.359 kB / 0.6948 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.432, allocations: 337.2 kB / 0.6952 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/0.4325, allocations: 145.7 kB / 0.6953 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.4338, allocations: 0.927 MB / 0.6962 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009222/0.4347, allocations: 179.1 kB / 0.6964 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.665e-05/0.4348, allocations: 28.72 kB / 0.6964 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/0.4348, allocations: 4.344 kB / 0.6964 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002304/0.4371, allocations: 1.004 MB / 0.6974 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.4372, allocations: 3 kB / 0.6974 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009079/0.4381, allocations: 326.9 kB / 0.6977 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005583/0.4386, allocations: 143.7 kB / 0.6978 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.4398, allocations: 0.9318 MB / 0.6987 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008449/0.4407, allocations: 172.5 kB / 0.6989 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.917e-05/0.4408, allocations: 28.81 kB / 0.6989 GB, free: 14.69 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 (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.0004049/0.4412, allocations: 353.2 kB / 0.6993 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.4413, allocations: 106.7 kB / 0.6994 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003857/0.4452, allocations: 1.447 MB / 0.7008 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.4452, allocations: 5.188 kB / 0.7008 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4452, allocations: 5.016 kB / 0.7008 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4452, allocations: 3.938 kB / 0.7008 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004928/0.4502, allocations: 2.532 MB / 0.7033 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4502, allocations: 1.812 kB / 0.7033 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004877/0.4507, allocations: 118 kB / 0.7034 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008597/0.4516, allocations: 327.1 kB / 0.7037 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.4516, allocations: 17.73 kB / 0.7037 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001244/0.4529, allocations: 0.969 MB / 0.7047 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4529, allocations: 2.344 kB / 0.7047 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003533/0.4564, allocations: 1.451 MB / 0.7061 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000338/0.4568, allocations: 298.4 kB / 0.7064 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.4569, allocations: 14.98 kB / 0.7064 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007703/0.4577, allocations: 116.2 kB / 0.7065 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.4577, allocations: 46.66 kB / 0.7065 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/0.4578, allocations: 23.67 kB / 0.7066 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007001/0.4585, allocations: 0.6502 MB / 0.7072 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4585, allocations: 3.938 kB / 0.7072 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001192/0.4597, allocations: 0.5624 MB / 0.7077 GB, free: 9.398 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 (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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006229/0.4603, allocations: 379.4 kB / 0.7081 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003124/0.4635, allocations: 1.391 MB / 0.7095 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4635, allocations: 0 / 0.7095 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.4646, allocations: 492.9 kB / 0.7099 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.4665, allocations: 0.5005 MB / 0.7104 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/0.4698, allocations: 2.333 MB / 0.7127 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005283/0.4703, allocations: 1.063 MB / 0.7137 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008167/0.4712, allocations: 243 kB / 0.714 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.4714, allocations: 79.41 kB / 0.714 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of SimCode: time 2.51e-07/0.4714, allocations: 0 / 0.714 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of Templates: time 0.03101/0.5024, allocations: 23.29 MB / 0.7368 GB, free: 12.88 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)