Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva") translateModel(BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001424/0.001424, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001456/0.001456, allocations: 197.3 kB / 16.26 MB, free: 6.629 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.442/1.442, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002574/0.002574, allocations: 279 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.112/1.112, allocations: 178.6 MB / 0.5069 GB, free: 4.711 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00273/0.00273, allocations: 101 kB / 0.6059 GB, free: 24.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1603, allocations: 89.16 MB / 0.693 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva): time 0.06413/0.2244, allocations: 60.64 MB / 0.7522 GB, free: 7.859 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.3912/0.6157, allocations: 11.89 MB / 0.7638 GB, free: 21.65 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002644/0.6184, allocations: 55.97 kB / 0.7639 GB, free: 21.65 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002333/0.6207, allocations: 0.5832 MB / 0.7644 GB, free: 21.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007622/0.6284, allocations: 1.832 MB / 0.7662 GB, free: 21.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004018/0.6324, allocations: 1.098 MB / 0.7673 GB, free: 21.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005824/0.6383, allocations: 3.096 MB / 0.7703 GB, free: 21.54 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002269/0.6406, allocations: 1.103 MB / 0.7714 GB, free: 21.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003641/0.6442, allocations: 1.336 MB / 0.7727 GB, free: 21.37 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.646, allocations: 0.924 MB / 0.7736 GB, free: 21.2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002286/0.6462, allocations: 114.9 kB / 0.7737 GB, free: 21.2 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003232/0.6495, allocations: 1.465 MB / 0.7751 GB, free: 21.17 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003508/0.6498, allocations: 294.6 kB / 0.7754 GB, free: 21.12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.6509, allocations: 0.6982 MB / 0.7761 GB, free: 20.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004042/0.6549, allocations: 2.283 MB / 0.7783 GB, free: 20.63 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.655, allocations: 2.625 kB / 0.7783 GB, free: 20.63 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.655, allocations: 0 / 0.7783 GB, free: 20.63 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.723e-05/0.655, allocations: 0 / 0.7783 GB, free: 20.63 MB / 0.545 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.003143/0.6581, allocations: 1.72 MB / 0.78 GB, free: 19.69 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.6582, allocations: 9.453 kB / 0.78 GB, free: 19.69 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002295/0.6605, allocations: 409.3 kB / 0.7804 GB, free: 19.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/0.6627, allocations: 1.128 MB / 0.7815 GB, free: 19.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003461/0.663, allocations: 119.2 kB / 0.7816 GB, free: 19.21 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.6632, allocations: 80.78 kB / 0.7817 GB, free: 19.21 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.6652, allocations: 0.9801 MB / 0.7827 GB, free: 19.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.6652, allocations: 2.406 kB / 0.7827 GB, free: 19.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.977e-05/0.6653, allocations: 32.06 kB / 0.7827 GB, free: 19.05 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.6653, allocations: 18.03 kB / 0.7827 GB, free: 19.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/0.6675, allocations: 0.8548 MB / 0.7835 GB, free: 19.03 MB / 0.545 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.006118/0.6736, allocations: 4.842 MB / 0.7883 GB, free: 16.33 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003308/0.6769, allocations: 0.8044 MB / 0.7891 GB, free: 16.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000673/0.6776, allocations: 295.5 kB / 0.7893 GB, free: 16.15 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004494/0.6781, allocations: 0.9054 MB / 0.7902 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.6781, allocations: 36.97 kB / 0.7903 GB, free: 15.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=43): time 2.755e-06/0.6781, allocations: 4 kB / 0.7903 GB, free: 15.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=43): time 0.007067/0.6852, allocations: 1.759 MB / 0.792 GB, free: 14.58 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.6852, allocations: 55.78 kB / 0.792 GB, free: 14.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/0.6871, allocations: 1.051 MB / 0.7931 GB, free: 14.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.6872, allocations: 41.28 kB / 0.7931 GB, free: 14.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/0.6875, allocations: 0.5181 MB / 0.7936 GB, free: 13.63 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.6877, allocations: 154.8 kB / 0.7938 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.6879, allocations: 125.9 kB / 0.7939 GB, free: 13.45 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.687e-05/0.688, allocations: 332 kB / 0.7942 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008382/0.6888, allocations: 296.9 kB / 0.7945 GB, free: 13.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009821/0.6898, allocations: 0.5019 MB / 0.795 GB, free: 12.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.6914, allocations: 0.6791 MB / 0.7956 GB, free: 12.37 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.6914, allocations: 1.312 kB / 0.7956 GB, free: 12.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003639/0.695, allocations: 1.125 MB / 0.7967 GB, free: 12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.6951, allocations: 12.31 kB / 0.7967 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.6951, allocations: 5.719 kB / 0.7967 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.6963, allocations: 320.8 kB / 0.797 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/0.6968, allocations: 115.6 kB / 0.7972 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.6982, allocations: 0.9221 MB / 0.7981 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.6997, allocations: 163.7 kB / 0.7982 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.384e-05/0.6998, allocations: 31.39 kB / 0.7982 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001251/0.7011, allocations: 0.508 MB / 0.7987 GB, free: 10.95 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009979/0.7021, allocations: 0.4917 MB / 0.7992 GB, free: 10.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001525/0.7036, allocations: 0.6756 MB / 0.7999 GB, free: 10.26 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.64e-06/0.7036, allocations: 5.188 kB / 0.7999 GB, free: 10.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.003523/0.7072, allocations: 1.101 MB / 0.801 GB, free: 9.887 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.7072, allocations: 11.5 kB / 0.801 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.7072, allocations: 11.08 kB / 0.801 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/0.7084, allocations: 311.3 kB / 0.8013 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/0.7089, allocations: 117.5 kB / 0.8014 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.7102, allocations: 0.9111 MB / 0.8023 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.7117, allocations: 154.7 kB / 0.8024 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.559e-05/0.7118, allocations: 28.08 kB / 0.8025 GB, free: 9.074 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.0002276/0.712, allocations: 227.7 kB / 0.8027 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/0.7123, allocations: 112.3 kB / 0.8028 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/0.7147, allocations: 0.918 MB / 0.8037 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.7147, allocations: 9.516 kB / 0.8037 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.7147, allocations: 5.062 kB / 0.8037 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.7148, allocations: 3.938 kB / 0.8037 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005221/0.72, allocations: 2.159 MB / 0.8058 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.72, allocations: 6.594 kB / 0.8058 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.7203, allocations: 62.64 kB / 0.8059 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009563/0.7213, allocations: 296.5 kB / 0.8062 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/0.7213, allocations: 17.58 kB / 0.8062 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/0.7226, allocations: 0.9498 MB / 0.8071 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.7226, allocations: 6.578 kB / 0.8071 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003432/0.7261, allocations: 1.164 MB / 0.8082 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006094/0.7267, allocations: 263.4 kB / 0.8085 GB, free: 4.953 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003013/0.727, allocations: 13.16 kB / 0.8085 GB, free: 4.945 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.7281, allocations: 99.2 kB / 0.8086 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.48e-05/0.7282, allocations: 36.7 kB / 0.8086 GB, free: 4.879 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.365e-05/0.7283, allocations: 22.52 kB / 0.8087 GB, free: 4.871 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001333/0.7296, allocations: 0.7381 MB / 0.8094 GB, free: 4.453 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7296, allocations: 3.938 kB / 0.8094 GB, free: 4.449 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00189/0.7315, allocations: 0.5597 MB / 0.8099 GB, free: 4.328 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.0008557/0.7324, allocations: 383.3 kB / 0.8103 GB, free: 4.121 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003014/0.7354, allocations: 1.115 MB / 0.8114 GB, free: 3.613 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.7354, allocations: 4.125 kB / 0.8114 GB, free: 3.609 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008196/0.7363, allocations: 354.8 kB / 0.8117 GB, free: 3.449 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002439/0.7387, allocations: 0.4969 MB / 0.8122 GB, free: 3.188 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005155/0.7439, allocations: 2.443 MB / 0.8146 GB, free: 1.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005054/0.7444, allocations: 1.062 MB / 0.8156 GB, free: 0.707 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001028/0.7454, allocations: 220.3 kB / 0.8158 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.7457, allocations: 75.39 kB / 0.8159 GB, free: 0.582 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.7457, allocations: 0 / 0.8159 GB, free: 0.582 MB / 0.545 GB Notification: Performance of Templates: time 0.04536/0.791, allocations: 24.47 MB / 0.8398 GB, free: 12.13 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)