Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007733/0.0007733, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005033/0.005033, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.302/1.302, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00176/0.00176, allocations: 270.4 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9913/0.9913, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007669/0.000767, allocations: 16.8 kB / 0.5986 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1706, allocations: 88.55 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.05344/0.2241, allocations: 59.75 MB / 0.7435 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0149/0.239, allocations: 11.93 MB / 0.7551 GB, free: 7.191 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001918/0.241, allocations: 47.69 kB / 0.7552 GB, free: 7.145 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.2426, allocations: 0.5594 MB / 0.7557 GB, free: 6.582 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005005/0.2476, allocations: 1.804 MB / 0.7575 GB, free: 4.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00272/0.2504, allocations: 1.083 MB / 0.7585 GB, free: 3.699 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.3195/0.5699, allocations: 3.91 MB / 0.7623 GB, free: 23.94 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/0.5717, allocations: 0.9075 MB / 0.7632 GB, free: 23.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002381/0.574, allocations: 1.125 MB / 0.7643 GB, free: 23.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.5755, allocations: 0.8654 MB / 0.7652 GB, free: 23.85 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.5756, allocations: 42.19 kB / 0.7652 GB, free: 23.85 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002758/0.5784, allocations: 1.334 MB / 0.7665 GB, free: 23.85 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002436/0.5787, allocations: 213 kB / 0.7667 GB, free: 23.85 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000747/0.5794, allocations: 0.6385 MB / 0.7673 GB, free: 23.67 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003279/0.5827, allocations: 2.208 MB / 0.7695 GB, free: 23.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5827, allocations: 0 / 0.7695 GB, free: 23.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5827, allocations: 5.469 kB / 0.7695 GB, free: 23.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.501e-05/0.5828, allocations: 0 / 0.7695 GB, free: 23.45 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002889/0.5856, allocations: 1.517 MB / 0.771 GB, free: 22.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.5857, allocations: 9.969 kB / 0.771 GB, free: 22.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00229/0.588, allocations: 475.6 kB / 0.7714 GB, free: 22.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.59, allocations: 1.132 MB / 0.7726 GB, free: 22.11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003423/0.5904, allocations: 135.8 kB / 0.7727 GB, free: 22.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.5905, allocations: 82.34 kB / 0.7728 GB, free: 22.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.5925, allocations: 1.03 MB / 0.7738 GB, free: 21.92 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.5925, allocations: 0 / 0.7738 GB, free: 21.92 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.758e-05/0.5926, allocations: 31.44 kB / 0.7738 GB, free: 21.92 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.5926, allocations: 19.28 kB / 0.7738 GB, free: 21.92 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00236/0.595, allocations: 0.9498 MB / 0.7747 GB, free: 21.89 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.005539/0.6006, allocations: 4.909 MB / 0.7795 GB, free: 19.19 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003481/0.6041, allocations: 0.9108 MB / 0.7804 GB, free: 19.13 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007655/0.6048, allocations: 340.7 kB / 0.7808 GB, free: 19.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004101/0.6053, allocations: 0.9055 MB / 0.7816 GB, free: 18.08 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.6053, allocations: 40.23 kB / 0.7817 GB, free: 18.04 MB / 0.545 GB Notification: Performance of pre-optimization done (n=44): time 2.725e-06/0.6053, allocations: 0 / 0.7817 GB, free: 18.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=44): time 0.006301/0.6116, allocations: 1.845 MB / 0.7835 GB, free: 17.76 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.6116, allocations: 55.19 kB / 0.7835 GB, free: 17.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.613, allocations: 1.061 MB / 0.7846 GB, free: 17.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/0.613, allocations: 36.08 kB / 0.7846 GB, free: 17.51 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003267/0.6134, allocations: 0.5305 MB / 0.7851 GB, free: 17.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.702e-05/0.6135, allocations: 157 kB / 0.7853 GB, free: 17.22 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.432e-05/0.6135, allocations: 46.59 kB / 0.7853 GB, free: 17.21 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.526e-05/0.6136, allocations: 328.8 kB / 0.7856 GB, free: 16.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009733/0.6146, allocations: 341.9 kB / 0.786 GB, free: 16.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.6157, allocations: 0.5512 MB / 0.7865 GB, free: 16.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.6176, allocations: 0.7607 MB / 0.7872 GB, free: 16.47 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.6176, allocations: 5.094 kB / 0.7872 GB, free: 16.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00304/0.6207, allocations: 1.093 MB / 0.7883 GB, free: 16.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.17e-05/0.6208, allocations: 218.6 kB / 0.7885 GB, free: 16.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.6208, allocations: 4.375 kB / 0.7885 GB, free: 16.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/0.6222, allocations: 329.4 kB / 0.7888 GB, free: 16.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005732/0.6228, allocations: 140.6 kB / 0.789 GB, free: 16.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.6242, allocations: 0.9489 MB / 0.7899 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.6256, allocations: 194.6 kB / 0.7901 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.288e-05/0.6257, allocations: 29.53 kB / 0.7901 GB, free: 15.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.6257, allocations: 10.91 kB / 0.7901 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002592/0.6283, allocations: 0.9433 MB / 0.791 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.6283, allocations: 4.156 kB / 0.791 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.6294, allocations: 332.3 kB / 0.7914 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005467/0.6299, allocations: 138.7 kB / 0.7915 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.6313, allocations: 0.9287 MB / 0.7924 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.6325, allocations: 187.1 kB / 0.7926 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.435e-05/0.6326, allocations: 26.72 kB / 0.7926 GB, free: 14.82 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 (52): * Single equations (assignments): 51 * 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.000486/0.6331, allocations: 352.1 kB / 0.7929 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.6333, allocations: 109.7 kB / 0.793 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003398/0.6367, allocations: 1.197 MB / 0.7942 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.6367, allocations: 7.578 kB / 0.7942 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.6367, allocations: 0 / 0.7942 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.6367, allocations: 2.016 kB / 0.7942 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005907/0.6426, allocations: 2.316 MB / 0.7965 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.6427, allocations: 2.812 kB / 0.7965 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004386/0.6431, allocations: 77.64 kB / 0.7966 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.6446, allocations: 330.8 kB / 0.7969 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.058e-05/0.6446, allocations: 14.36 kB / 0.7969 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/0.6464, allocations: 0.9683 MB / 0.7978 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.6464, allocations: 6.688 kB / 0.7978 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005024/0.6515, allocations: 1.326 MB / 0.7991 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007477/0.6522, allocations: 282.7 kB / 0.7994 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.6524, allocations: 14.38 kB / 0.7994 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.6537, allocations: 126.6 kB / 0.7995 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.6539, allocations: 40.62 kB / 0.7996 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.31e-05/0.654, allocations: 23.86 kB / 0.7996 GB, free: 12.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001691/0.6557, allocations: 0.7575 MB / 0.8003 GB, free: 12.79 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6557, allocations: 1.375 kB / 0.8003 GB, free: 12.79 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002051/0.6577, allocations: 0.5483 MB / 0.8009 GB, free: 12.72 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 (34): * Single equations (assignments): 29 * 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.0009178/0.6587, allocations: 387.1 kB / 0.8012 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004289/0.663, allocations: 1.231 MB / 0.8024 GB, free: 12.53 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.663, allocations: 0 / 0.8024 GB, free: 12.53 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001286/0.6643, allocations: 394 kB / 0.8028 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003793/0.6681, allocations: 0.4993 MB / 0.8033 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006697/0.6748, allocations: 2.568 MB / 0.8058 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005905/0.6754, allocations: 1.073 MB / 0.8069 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001278/0.6767, allocations: 222.1 kB / 0.8071 GB, free: 10.19 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.6769, allocations: 78.08 kB / 0.8072 GB, free: 10.18 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.677, allocations: 0 / 0.8072 GB, free: 10.18 MB / 0.545 GB Notification: Performance of Templates: time 0.03908/0.716, allocations: 24.06 MB / 0.8307 GB, free: 9.551 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1)