Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.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.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007313/0.007313, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001444/0.001444, allocations: 196.4 kB / 16.79 MB, free: 5.809 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.413/1.413, allocations: 222.9 MB / 240.5 MB, free: 4.582 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 1.01/1.01, allocations: 143 MB / 433.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 59.91 kB / 0.5141 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1945, allocations: 82.04 MB / 0.5942 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.4264/0.621, allocations: 60.79 MB / 0.6536 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01595/0.637, allocations: 12.08 MB / 0.6654 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002767/0.6398, allocations: 56 kB / 0.6655 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002109/0.6419, allocations: 0.5514 MB / 0.666 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007809/0.6498, allocations: 1.796 MB / 0.6678 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003914/0.6537, allocations: 1.076 MB / 0.6688 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006561/0.6603, allocations: 3.902 MB / 0.6726 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002014/0.6624, allocations: 0.9242 MB / 0.6735 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003387/0.6658, allocations: 1.153 MB / 0.6746 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/0.6679, allocations: 0.8938 MB / 0.6755 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001973/0.6681, allocations: 55.94 kB / 0.6756 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003828/0.6719, allocations: 1.345 MB / 0.6769 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000377/0.6723, allocations: 240.4 kB / 0.6771 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.6735, allocations: 0.6336 MB / 0.6777 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003115/0.6766, allocations: 1.82 MB / 0.6795 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.6766, allocations: 8 kB / 0.6795 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6766, allocations: 0 / 0.6795 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.044e-05/0.6766, allocations: 0 / 0.6795 GB, free: 7.309 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003787/0.6804, allocations: 1.722 MB / 0.6812 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.6805, allocations: 10.02 kB / 0.6812 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/0.6829, allocations: 409.9 kB / 0.6816 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002466/0.6854, allocations: 1.124 MB / 0.6827 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003815/0.6858, allocations: 127.7 kB / 0.6828 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.686, allocations: 78.88 kB / 0.6829 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/0.6882, allocations: 0.976 MB / 0.6838 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.6883, allocations: 0 / 0.6838 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-05/0.6884, allocations: 35.75 kB / 0.6839 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.6884, allocations: 19.59 kB / 0.6839 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002449/0.6909, allocations: 0.8587 MB / 0.6847 GB, free: 4.512 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.007638/0.6985, allocations: 4.842 MB / 0.6895 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003512/0.702, allocations: 0.7936 MB / 0.6902 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007814/0.7028, allocations: 304.7 kB / 0.6905 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007704/0.7036, allocations: 0.9078 MB / 0.6914 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.7037, allocations: 39.62 kB / 0.6915 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=43): time 3.627e-06/0.7037, allocations: 0 / 0.6915 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43): time 0.007631/0.7113, allocations: 1.76 MB / 0.6932 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.7114, allocations: 63.06 kB / 0.6932 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/0.7134, allocations: 1.049 MB / 0.6943 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.7135, allocations: 37.77 kB / 0.6943 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004981/0.714, allocations: 0.5191 MB / 0.6948 GB, free: 14 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.7141, allocations: 148.7 kB / 0.6949 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002689/0.7144, allocations: 131 kB / 0.6951 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.7146, allocations: 329.8 kB / 0.6954 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009019/0.7155, allocations: 304.1 kB / 0.6957 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.7166, allocations: 0.503 MB / 0.6962 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.7183, allocations: 0.6732 MB / 0.6968 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.7184, allocations: 5.125 kB / 0.6968 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004005/0.7224, allocations: 1.134 MB / 0.6979 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.7224, allocations: 7.562 kB / 0.6979 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.7224, allocations: 6.562 kB / 0.6979 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/0.7238, allocations: 314.8 kB / 0.6982 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000556/0.7244, allocations: 122.8 kB / 0.6984 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/0.726, allocations: 0.912 MB / 0.6993 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.7277, allocations: 172.2 kB / 0.6994 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.7278, allocations: 27.89 kB / 0.6994 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001611/0.7294, allocations: 0.5106 MB / 0.6999 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001243/0.7307, allocations: 0.4986 MB / 0.7004 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001795/0.7325, allocations: 0.6753 MB / 0.7011 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.666e-06/0.7325, allocations: 1.281 kB / 0.7011 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.004002/0.7365, allocations: 1.112 MB / 0.7022 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.7366, allocations: 11.16 kB / 0.7022 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.7366, allocations: 4.375 kB / 0.7022 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.7378, allocations: 309.8 kB / 0.7025 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005455/0.7384, allocations: 123.5 kB / 0.7026 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.7399, allocations: 0.9032 MB / 0.7035 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.7415, allocations: 157.8 kB / 0.7036 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-05/0.7416, allocations: 29.98 kB / 0.7037 GB, free: 9.27 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (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.0003127/0.7419, allocations: 215.1 kB / 0.7039 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003883/0.7423, allocations: 110.8 kB / 0.704 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002749/0.7451, allocations: 0.9338 MB / 0.7049 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.311e-05/0.7451, allocations: 4.75 kB / 0.7049 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.7451, allocations: 1.25 kB / 0.7049 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.7451, allocations: 7.922 kB / 0.7049 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006319/0.7515, allocations: 2.151 MB / 0.707 GB, free: 7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.7515, allocations: 2.469 kB / 0.707 GB, free: 7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/0.7518, allocations: 64.73 kB / 0.7071 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001204/0.753, allocations: 316 kB / 0.7074 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.222e-05/0.7531, allocations: 13.42 kB / 0.7074 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/0.7548, allocations: 0.9402 MB / 0.7083 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.7548, allocations: 7 kB / 0.7083 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003896/0.7587, allocations: 1.156 MB / 0.7094 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008342/0.7596, allocations: 267.4 kB / 0.7097 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000409/0.76, allocations: 13.84 kB / 0.7097 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.7613, allocations: 95.56 kB / 0.7098 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.7614, allocations: 32.64 kB / 0.7098 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.607e-05/0.7615, allocations: 28.91 kB / 0.7099 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001614/0.7631, allocations: 0.7433 MB / 0.7106 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7631, allocations: 0 / 0.7106 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002726/0.7658, allocations: 0.5581 MB / 0.7111 GB, free: 4.516 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 (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.001351/0.7672, allocations: 380.8 kB / 0.7115 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003557/0.7708, allocations: 1.091 MB / 0.7126 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.7708, allocations: 0 / 0.7126 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009454/0.7717, allocations: 356.9 kB / 0.7129 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003096/0.7749, allocations: 0.4958 MB / 0.7134 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006325/0.7812, allocations: 2.47 MB / 0.7158 GB, free: 340 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009209/0.7821, allocations: 1.061 MB / 0.7168 GB, free: 15.24 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/0.7825, allocations: 83.41 kB / 0.7169 GB, free: 15.16 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.7825, allocations: 0 / 0.7169 GB, free: 15.16 MB / 0.545 GB Notification: Performance of Templates: time 0.03869/0.8212, allocations: 24.04 MB / 0.7404 GB, free: 7.289 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)