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.001755/0.001755, allocations: 106.1 kB / 15.99 MB, free: 6.348 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.002081/0.002081, allocations: 188.8 kB / 16.91 MB, free: 6.188 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.418/1.418, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.8426/0.8426, allocations: 143 MB / 433.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 59.91 kB / 0.5143 GB, free: 15.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4428, allocations: 82.03 MB / 0.5944 GB, free: 16.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.05331/0.4962, allocations: 60.65 MB / 0.6537 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01706/0.5133, allocations: 11.92 MB / 0.6653 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002423/0.5157, allocations: 55.62 kB / 0.6654 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002013/0.5178, allocations: 0.5828 MB / 0.6659 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005719/0.5236, allocations: 1.828 MB / 0.6677 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003195/0.5268, allocations: 1.094 MB / 0.6688 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004628/0.5314, allocations: 3.095 MB / 0.6718 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/0.5331, allocations: 1.102 MB / 0.6729 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003288/0.5364, allocations: 1.338 MB / 0.6742 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.5377, allocations: 0.9295 MB / 0.6751 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.5379, allocations: 116 kB / 0.6752 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002757/0.5406, allocations: 1.454 MB / 0.6766 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.5409, allocations: 294.8 kB / 0.6769 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007747/0.5417, allocations: 0.6958 MB / 0.6776 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002526/0.5443, allocations: 1.863 MB / 0.6794 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5443, allocations: 0 / 0.6794 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5443, allocations: 0 / 0.6794 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.345e-05/0.5443, allocations: 0 / 0.6794 GB, free: 9.18 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.003008/0.5473, allocations: 1.715 MB / 0.6811 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.5474, allocations: 12.03 kB / 0.6811 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002137/0.5495, allocations: 410.8 kB / 0.6815 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/0.5516, allocations: 1.132 MB / 0.6826 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003373/0.552, allocations: 117.9 kB / 0.6827 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.5521, allocations: 88 kB / 0.6828 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.5541, allocations: 0.9777 MB / 0.6837 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.5541, allocations: 0 / 0.6837 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.772e-05/0.5542, allocations: 32 kB / 0.6838 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/0.5542, allocations: 16 kB / 0.6838 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.5564, allocations: 0.8548 MB / 0.6846 GB, free: 3.676 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.006369/0.5628, allocations: 4.865 MB / 0.6894 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003342/0.5661, allocations: 0.7921 MB / 0.6901 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006987/0.5668, allocations: 300.6 kB / 0.6904 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006565/0.5675, allocations: 0.9025 MB / 0.6913 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.5676, allocations: 50.48 kB / 0.6914 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=43): time 4.298e-06/0.5676, allocations: 0 / 0.6914 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43): time 0.006962/0.5745, allocations: 1.755 MB / 0.6931 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.5746, allocations: 59.41 kB / 0.6931 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.5762, allocations: 1.048 MB / 0.6941 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.758e-05/0.5763, allocations: 37.7 kB / 0.6942 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004301/0.5767, allocations: 0.5235 MB / 0.6947 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.5769, allocations: 153.8 kB / 0.6948 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002349/0.5771, allocations: 126 kB / 0.695 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.5773, allocations: 333.9 kB / 0.6953 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008514/0.5781, allocations: 302.9 kB / 0.6956 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.5791, allocations: 0.4984 MB / 0.6961 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.5807, allocations: 0.6813 MB / 0.6967 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.5808, allocations: 0 / 0.6967 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003542/0.5843, allocations: 1.129 MB / 0.6978 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.5843, allocations: 10.34 kB / 0.6978 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.5844, allocations: 4.438 kB / 0.6978 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.5856, allocations: 315.2 kB / 0.6981 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/0.5861, allocations: 123.8 kB / 0.6983 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.5876, allocations: 0.9074 MB / 0.6991 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.5889, allocations: 179.2 kB / 0.6993 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-05/0.589, allocations: 31.92 kB / 0.6993 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001193/0.5902, allocations: 0.501 MB / 0.6998 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009957/0.5912, allocations: 0.4981 MB / 0.7003 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001553/0.5928, allocations: 0.6677 MB / 0.701 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.565e-06/0.5928, allocations: 0 / 0.701 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.003395/0.5962, allocations: 1.11 MB / 0.7021 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.5962, allocations: 12.03 kB / 0.7021 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.5962, allocations: 4 kB / 0.7021 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.5973, allocations: 312 kB / 0.7024 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005019/0.5979, allocations: 119.8 kB / 0.7025 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.5993, allocations: 0.9036 MB / 0.7034 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.6006, allocations: 159.5 kB / 0.7035 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-05/0.6007, allocations: 27.98 kB / 0.7035 GB, free: 15.27 MB / 0.545 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.0002507/0.6009, allocations: 216.1 kB / 0.7037 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.6011, allocations: 110.6 kB / 0.7039 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.6035, allocations: 0.9332 MB / 0.7048 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.6035, allocations: 12 kB / 0.7048 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.6035, allocations: 3.938 kB / 0.7048 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.6035, allocations: 3.984 kB / 0.7048 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004967/0.6085, allocations: 2.155 MB / 0.7069 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.6085, allocations: 4 kB / 0.7069 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.6088, allocations: 59.89 kB / 0.707 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009806/0.6098, allocations: 316.5 kB / 0.7073 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/0.6098, allocations: 16 kB / 0.7073 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.6113, allocations: 0.9408 MB / 0.7082 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.6113, allocations: 3.938 kB / 0.7082 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003501/0.6148, allocations: 1.159 MB / 0.7093 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004832/0.6153, allocations: 263.5 kB / 0.7096 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.6155, allocations: 16 kB / 0.7096 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008682/0.6163, allocations: 99.89 kB / 0.7097 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.285e-05/0.6164, allocations: 35.89 kB / 0.7097 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.055e-05/0.6165, allocations: 23.98 kB / 0.7097 GB, free: 8.719 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001127/0.6176, allocations: 0.7391 MB / 0.7105 GB, free: 7.973 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6176, allocations: 3.938 kB / 0.7105 GB, free: 7.969 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001562/0.6192, allocations: 0.5574 MB / 0.711 GB, free: 7.41 MB / 0.545 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.000823/0.62, allocations: 386.8 kB / 0.7114 GB, free: 7.039 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00313/0.6232, allocations: 1.113 MB / 0.7125 GB, free: 5.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6232, allocations: 0 / 0.7125 GB, free: 5.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008621/0.6241, allocations: 352.4 kB / 0.7128 GB, free: 5.586 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/0.6263, allocations: 0.5086 MB / 0.7133 GB, free: 5.105 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005449/0.6318, allocations: 2.478 MB / 0.7157 GB, free: 2.562 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006693/0.6325, allocations: 1.057 MB / 0.7168 GB, free: 1.473 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/0.6327, allocations: 83.42 kB / 0.7168 GB, free: 1.391 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/0.6327, allocations: 4 kB / 0.7168 GB, free: 1.387 MB / 0.545 GB Notification: Performance of Templates: time 0.03163/0.6644, allocations: 23.97 MB / 0.7402 GB, free: 9.602 MB / 0.5762 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)