Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001488/0.001488, allocations: 177.3 kB / 15.94 MB, free: 228 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.493/1.493, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.107/1.107, allocations: 143.3 MB / 434.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004798/0.00048, allocations: 8 kB / 0.5158 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1725, allocations: 83.4 MB / 0.5973 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.3861/0.5587, allocations: 62.91 MB / 0.6587 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01553/0.5743, allocations: 11.02 MB / 0.6695 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002216/0.5765, allocations: 57.16 kB / 0.6695 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0025/0.579, allocations: 0.7423 MB / 0.6702 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008759/0.5878, allocations: 2.309 MB / 0.6725 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006306/0.5941, allocations: 1.522 MB / 0.674 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006914/0.6011, allocations: 2.512 MB / 0.6764 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002816/0.6039, allocations: 1.029 MB / 0.6774 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004105/0.608, allocations: 1.159 MB / 0.6786 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004003/0.6121, allocations: 0.7682 MB / 0.6793 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000657/0.6128, allocations: 55.16 kB / 0.6794 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005307/0.6181, allocations: 0.8356 MB / 0.6802 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008034/0.619, allocations: 260.3 kB / 0.6804 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001139/0.6201, allocations: 360 kB / 0.6808 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004875/0.625, allocations: 2.162 MB / 0.6829 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.625, allocations: 0 / 0.6829 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.194e-06/0.625, allocations: 1.125 kB / 0.6829 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.28e-05/0.6251, allocations: 0 / 0.6829 GB, free: 6.344 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004375/0.6295, allocations: 1.777 MB / 0.6846 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.6295, allocations: 8.656 kB / 0.6846 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009802/0.6305, allocations: 244.2 kB / 0.6849 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003036/0.6336, allocations: 1.381 MB / 0.6862 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.995e-05/0.6337, allocations: 76.62 kB / 0.6863 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.6338, allocations: 104.8 kB / 0.6864 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.6363, allocations: 1.102 MB / 0.6875 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.704e-05/0.6363, allocations: 9.25 kB / 0.6875 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.622e-05/0.6364, allocations: 37.56 kB / 0.6875 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.95e-05/0.6365, allocations: 29.38 kB / 0.6875 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002172/0.6386, allocations: 0.9237 MB / 0.6884 GB, free: 3.348 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.007696/0.6464, allocations: 4.971 MB / 0.6933 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.6479, allocations: 0.6304 MB / 0.6939 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006856/0.6486, allocations: 0.8223 MB / 0.6947 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.6486, allocations: 42.5 kB / 0.6948 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.755e-06/0.6486, allocations: 0 / 0.6948 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007745/0.6564, allocations: 1.878 MB / 0.6966 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.6565, allocations: 58.25 kB / 0.6966 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/0.6586, allocations: 1.253 MB / 0.6979 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.6587, allocations: 43.27 kB / 0.6979 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005413/0.6593, allocations: 0.6076 MB / 0.6985 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000253/0.6595, allocations: 211.4 kB / 0.6987 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.6596, allocations: 15.97 kB / 0.6987 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.6597, allocations: 332.1 kB / 0.699 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006927/0.6604, allocations: 295.7 kB / 0.6993 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008205/0.6613, allocations: 0.5039 MB / 0.6998 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007959/0.6621, allocations: 355.5 kB / 0.7001 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/0.6621, allocations: 0 / 0.7001 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004942/0.667, allocations: 1.397 MB / 0.7015 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006234/0.6677, allocations: 1.423 MB / 0.7029 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.6677, allocations: 6.5 kB / 0.7029 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006881/0.6684, allocations: 145.6 kB / 0.703 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007515/0.6692, allocations: 165.8 kB / 0.7032 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009459/0.6701, allocations: 0.7089 MB / 0.7039 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.6718, allocations: 168.4 kB / 0.7041 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.353e-05/0.6719, allocations: 31.84 kB / 0.7041 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.672, allocations: 7.719 kB / 0.7041 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004591/0.6766, allocations: 1.246 MB / 0.7053 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.6766, allocations: 3.219 kB / 0.7053 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006073/0.6772, allocations: 149.5 kB / 0.7055 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007733/0.678, allocations: 165.3 kB / 0.7056 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009855/0.679, allocations: 0.7133 MB / 0.7063 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.6808, allocations: 157.5 kB / 0.7065 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.33e-05/0.6809, allocations: 35.64 kB / 0.7065 GB, free: 7.852 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.001099/0.682, allocations: 426.1 kB / 0.7069 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003011/0.6824, allocations: 131.2 kB / 0.707 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004857/0.6872, allocations: 1.391 MB / 0.7084 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.411e-05/0.6873, allocations: 10.12 kB / 0.7084 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.6873, allocations: 1 kB / 0.7084 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004257/0.6916, allocations: 1.234 MB / 0.7096 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007329/0.6989, allocations: 2.765 MB / 0.7123 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.699, allocations: 3.938 kB / 0.7123 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004985/0.6995, allocations: 126.3 kB / 0.7124 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004788/0.7, allocations: 138 kB / 0.7126 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.102e-05/0.7, allocations: 24.41 kB / 0.7126 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004982/0.705, allocations: 2.504 MB / 0.715 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.705, allocations: 4.688 kB / 0.715 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005747/0.7108, allocations: 2.05 MB / 0.717 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.7119, allocations: 355.2 kB / 0.7174 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.7121, allocations: 19.94 kB / 0.7174 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009268/0.713, allocations: 99.81 kB / 0.7175 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.7131, allocations: 56.14 kB / 0.7175 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.833e-05/0.7132, allocations: 27.98 kB / 0.7176 GB, free: 15.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001336/0.7145, allocations: 0.8972 MB / 0.7184 GB, free: 14.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7145, allocations: 4 kB / 0.7184 GB, free: 14.65 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00208/0.7166, allocations: 0.7213 MB / 0.7192 GB, free: 13.93 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008773/0.7175, allocations: 460.2 kB / 0.7196 GB, free: 13.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002522/0.72, allocations: 1.168 MB / 0.7207 GB, free: 12.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.7201, allocations: 0 / 0.7207 GB, free: 12.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001454/0.7215, allocations: 0.5956 MB / 0.7213 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003345/0.7249, allocations: 0.7516 MB / 0.722 GB, free: 10.97 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003899/0.7288, allocations: 2.754 MB / 0.7247 GB, free: 8.145 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006973/0.7295, allocations: 1.196 MB / 0.7259 GB, free: 6.922 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001225/0.7307, allocations: 314.9 kB / 0.7262 GB, free: 6.609 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.731, allocations: 107.4 kB / 0.7263 GB, free: 6.504 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.731, allocations: 0 / 0.7263 GB, free: 6.504 MB / 0.545 GB Notification: Performance of Templates: time 0.04698/0.778, allocations: 30.31 MB / 0.7559 GB, free: 8.609 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: