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.001238/0.001238, allocations: 110.6 kB / 16.37 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.0013/0.0013, allocations: 192.3 kB / 17.3 MB, free: 5.895 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.225/1.225, allocations: 222.9 MB / 241 MB, free: 15.17 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.82/0.82, allocations: 143.1 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 63.72 kB / 0.5961 GB, free: 12.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1345, allocations: 82.05 MB / 0.6762 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.05356/0.1881, allocations: 61.16 MB / 0.736 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0155/0.2036, allocations: 11.98 MB / 0.7477 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.2055, allocations: 59.62 kB / 0.7477 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.2072, allocations: 0.6752 MB / 0.7484 GB, free: 384 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3134/0.5207, allocations: 1.968 MB / 0.7503 GB, free: 19.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002897/0.5236, allocations: 1.207 MB / 0.7515 GB, free: 19.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004478/0.5281, allocations: 3.082 MB / 0.7545 GB, free: 19.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001817/0.5299, allocations: 1.09 MB / 0.7556 GB, free: 19.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003632/0.5336, allocations: 1.333 MB / 0.7569 GB, free: 19.22 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002063/0.5357, allocations: 0.9024 MB / 0.7577 GB, free: 19.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004364/0.5361, allocations: 115.5 kB / 0.7579 GB, free: 19.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003591/0.5397, allocations: 1.439 MB / 0.7593 GB, free: 19.07 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005382/0.5403, allocations: 298.1 kB / 0.7595 GB, free: 19.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001835/0.5421, allocations: 0.6916 MB / 0.7602 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004744/0.5469, allocations: 2.399 MB / 0.7626 GB, free: 18.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.5469, allocations: 0 / 0.7626 GB, free: 18.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5469, allocations: 1.156 kB / 0.7626 GB, free: 18.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.343e-05/0.547, allocations: 0.5625 kB / 0.7626 GB, free: 18.54 MB / 0.5762 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.004191/0.5512, allocations: 1.728 MB / 0.7642 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.5512, allocations: 9.859 kB / 0.7643 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002217/0.5534, allocations: 410 kB / 0.7646 GB, free: 17.51 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/0.5555, allocations: 1.159 MB / 0.7658 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.178e-05/0.5556, allocations: 67.62 kB / 0.7658 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.5557, allocations: 79.16 kB / 0.7659 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/0.5576, allocations: 1.003 MB / 0.7669 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.5576, allocations: 1.125 kB / 0.7669 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/0.5577, allocations: 31.28 kB / 0.7669 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.5577, allocations: 22.56 kB / 0.767 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.5598, allocations: 0.8486 MB / 0.7678 GB, free: 16.9 MB / 0.5762 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.005517/0.5654, allocations: 5.224 MB / 0.7729 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00314/0.5685, allocations: 0.7905 MB / 0.7737 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006469/0.5692, allocations: 294.5 kB / 0.7739 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004044/0.5696, allocations: 0.9061 MB / 0.7748 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.5696, allocations: 43.75 kB / 0.7749 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 1.893e-06/0.5696, allocations: 0 / 0.7749 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.00646/0.5761, allocations: 1.687 MB / 0.7765 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.5762, allocations: 56.03 kB / 0.7766 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/0.5777, allocations: 1.078 MB / 0.7776 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.002e-05/0.5777, allocations: 38.52 kB / 0.7777 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.5781, allocations: 0.53 MB / 0.7782 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.5782, allocations: 152.4 kB / 0.7783 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.5784, allocations: 131.1 kB / 0.7784 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.181e-05/0.5784, allocations: 328.9 kB / 0.7788 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000803/0.5792, allocations: 307 kB / 0.779 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009222/0.5802, allocations: 0.5283 MB / 0.7796 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.5817, allocations: 0.7091 MB / 0.7803 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.453e-06/0.5817, allocations: 6.688 kB / 0.7803 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002436/0.5841, allocations: 1.009 MB / 0.7812 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.5842, allocations: 7 kB / 0.7813 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.5842, allocations: 14.31 kB / 0.7813 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.5853, allocations: 311.3 kB / 0.7816 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000511/0.5859, allocations: 131.6 kB / 0.7817 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.5871, allocations: 0.9018 MB / 0.7826 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.5883, allocations: 149.1 kB / 0.7827 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.853e-05/0.5884, allocations: 35.67 kB / 0.7827 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001122/0.5895, allocations: 0.5029 MB / 0.7832 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008941/0.5904, allocations: 0.5243 MB / 0.7838 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001401/0.5918, allocations: 0.702 MB / 0.7844 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.266e-06/0.5919, allocations: 0 / 0.7844 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002363/0.5942, allocations: 1.01 MB / 0.7854 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.5943, allocations: 7.312 kB / 0.7854 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5943, allocations: 5.438 kB / 0.7854 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00096/0.5952, allocations: 298.7 kB / 0.7857 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004843/0.5957, allocations: 130.6 kB / 0.7858 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.5969, allocations: 0.8932 MB / 0.7867 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.5981, allocations: 135.5 kB / 0.7868 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.5982, allocations: 35.97 kB / 0.7869 GB, free: 8.664 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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.0001984/0.5984, allocations: 222 kB / 0.7871 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.5985, allocations: 106.7 kB / 0.7872 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002126/0.6007, allocations: 0.9136 MB / 0.7881 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.6007, allocations: 9.219 kB / 0.7881 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.6007, allocations: 6.984 kB / 0.7881 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.6007, allocations: 5.125 kB / 0.7881 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004365/0.6051, allocations: 2.149 MB / 0.7902 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.6051, allocations: 6.453 kB / 0.7902 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.6054, allocations: 60.48 kB / 0.7903 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008251/0.6062, allocations: 291.4 kB / 0.7905 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.6062, allocations: 23.27 kB / 0.7906 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.6074, allocations: 0.9276 MB / 0.7915 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6074, allocations: 3.188 kB / 0.7915 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0032/0.6106, allocations: 1.148 MB / 0.7926 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000433/0.611, allocations: 267.5 kB / 0.7929 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.6112, allocations: 19.06 kB / 0.7929 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007496/0.6119, allocations: 65.7 kB / 0.7929 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.362e-05/0.612, allocations: 38.23 kB / 0.793 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.6121, allocations: 25.3 kB / 0.793 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009695/0.613, allocations: 0.7512 MB / 0.7937 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.613, allocations: 0 / 0.7937 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001535/0.6146, allocations: 0.5658 MB / 0.7943 GB, free: 4.562 MB / 0.5762 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.0006693/0.6153, allocations: 391 kB / 0.7947 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002724/0.618, allocations: 1.122 MB / 0.7958 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.618, allocations: 0 / 0.7958 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007301/0.6188, allocations: 351.2 kB / 0.7961 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002023/0.6208, allocations: 0.4988 MB / 0.7966 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004364/0.6252, allocations: 2.059 MB / 0.7986 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.6255, allocations: 1.062 MB / 0.7996 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.6258, allocations: 82.66 kB / 0.7997 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of SimCode: time 1.613e-06/0.6258, allocations: 0 / 0.7997 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of Templates: time 0.02721/0.653, allocations: 24.23 MB / 0.8234 GB, free: 10.86 MB / 0.6075 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)