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.001014/0.001014, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001276/0.001276, allocations: 172.7 kB / 15.95 MB, free: 208 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.403/1.403, allocations: 223.3 MB / 240 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001943/0.001943, allocations: 263.2 kB / 291.3 MB, free: 1.828 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.027/1.027, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004203, allocations: 10.59 kB / 0.598 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1862, allocations: 88.54 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.05328/0.2396, allocations: 56.51 MB / 0.7397 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01492/0.2545, allocations: 11.22 MB / 0.7506 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001829/0.2564, allocations: 55.62 kB / 0.7507 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.2579, allocations: 468.8 kB / 0.7511 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004549/0.2625, allocations: 1.538 MB / 0.7526 GB, free: 9.516 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002692/0.2652, allocations: 0.8596 MB / 0.7535 GB, free: 8.664 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004802/0.27, allocations: 3.414 MB / 0.7568 GB, free: 5.234 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.2715, allocations: 0.795 MB / 0.7576 GB, free: 4.418 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002534/0.2741, allocations: 1.038 MB / 0.7586 GB, free: 3.375 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.2753, allocations: 0.8166 MB / 0.7594 GB, free: 2.555 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.2754, allocations: 48 kB / 0.7594 GB, free: 2.508 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.2779, allocations: 1.099 MB / 0.7605 GB, free: 1.406 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000237/0.2781, allocations: 199 kB / 0.7607 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004231/0.2785, allocations: 289 kB / 0.761 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.3606/0.6392, allocations: 1.639 MB / 0.7626 GB, free: 28.28 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6392, allocations: 0.5312 kB / 0.7626 GB, free: 28.28 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.435e-06/0.6392, allocations: 0.5625 kB / 0.7626 GB, free: 28.28 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.96e-05/0.6393, allocations: 0 / 0.7626 GB, free: 28.28 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.003138/0.6424, allocations: 1.529 MB / 0.7641 GB, free: 27.49 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.6425, allocations: 12.06 kB / 0.7641 GB, free: 27.49 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002313/0.6448, allocations: 474.8 kB / 0.7645 GB, free: 27.42 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/0.6473, allocations: 1.09 MB / 0.7656 GB, free: 27.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003782/0.6477, allocations: 135.1 kB / 0.7657 GB, free: 27.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.6479, allocations: 81 kB / 0.7658 GB, free: 27.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/0.6501, allocations: 1.027 MB / 0.7668 GB, free: 26.92 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.6502, allocations: 0.9688 kB / 0.7668 GB, free: 26.92 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.004e-05/0.6502, allocations: 34.06 kB / 0.7668 GB, free: 26.92 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.6503, allocations: 19.56 kB / 0.7668 GB, free: 26.92 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002323/0.6526, allocations: 0.9432 MB / 0.7678 GB, free: 26.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.006263/0.6589, allocations: 4.898 MB / 0.7725 GB, free: 24.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003319/0.6622, allocations: 0.9112 MB / 0.7734 GB, free: 24.15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009251/0.6632, allocations: 339.9 kB / 0.7738 GB, free: 24.13 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006278/0.6638, allocations: 0.9009 MB / 0.7746 GB, free: 23.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.6639, allocations: 39.36 kB / 0.7747 GB, free: 23.06 MB / 0.545 GB Notification: Performance of pre-optimization done (n=44): time 4.488e-06/0.6639, allocations: 0 / 0.7747 GB, free: 23.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=44): time 0.006479/0.6704, allocations: 1.834 MB / 0.7765 GB, free: 22.79 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.6704, allocations: 58.16 kB / 0.7765 GB, free: 22.72 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.6722, allocations: 1.046 MB / 0.7775 GB, free: 22.58 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.6723, allocations: 39.8 kB / 0.7776 GB, free: 22.55 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000456/0.6728, allocations: 0.5322 MB / 0.7781 GB, free: 22.35 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.673, allocations: 153.5 kB / 0.7783 GB, free: 22.25 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.673, allocations: 9.75 kB / 0.7783 GB, free: 22.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.16e-05/0.6731, allocations: 329.5 kB / 0.7786 GB, free: 21.94 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000975/0.6741, allocations: 343.5 kB / 0.7789 GB, free: 21.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.6752, allocations: 0.5415 MB / 0.7794 GB, free: 21.69 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009789/0.6762, allocations: 377.4 kB / 0.7798 GB, free: 21.67 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.6762, allocations: 0 / 0.7798 GB, free: 21.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003646/0.6799, allocations: 1.239 MB / 0.781 GB, free: 21.53 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.68, allocations: 218.6 kB / 0.7812 GB, free: 21.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.68, allocations: 4.688 kB / 0.7812 GB, free: 21.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/0.6813, allocations: 328.7 kB / 0.7815 GB, free: 21.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005737/0.6819, allocations: 137 kB / 0.7817 GB, free: 21.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.6833, allocations: 0.9457 MB / 0.7826 GB, free: 20.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.6849, allocations: 196.4 kB / 0.7828 GB, free: 20.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.685, allocations: 31.53 kB / 0.7828 GB, free: 20.67 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.685, allocations: 14.67 kB / 0.7828 GB, free: 20.66 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003152/0.6882, allocations: 1.103 MB / 0.7839 GB, free: 20.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.6882, allocations: 10.75 kB / 0.7839 GB, free: 20.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.6893, allocations: 320.8 kB / 0.7842 GB, free: 20.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005263/0.6898, allocations: 140.4 kB / 0.7843 GB, free: 20.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.6911, allocations: 0.9434 MB / 0.7853 GB, free: 20.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.6925, allocations: 173.2 kB / 0.7854 GB, free: 20 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.913e-05/0.6926, allocations: 30.22 kB / 0.7855 GB, free: 20 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 (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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006933/0.6933, allocations: 346.2 kB / 0.7858 GB, free: 19.81 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003088/0.6937, allocations: 116.1 kB / 0.7859 GB, free: 19.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003351/0.697, allocations: 1.185 MB / 0.7871 GB, free: 19.63 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-05/0.6971, allocations: 6.594 kB / 0.7871 GB, free: 19.63 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.6971, allocations: 0.5312 kB / 0.7871 GB, free: 19.63 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.6971, allocations: 8.438 kB / 0.7871 GB, free: 19.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006019/0.7031, allocations: 2.307 MB / 0.7893 GB, free: 19.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.7032, allocations: 2.281 kB / 0.7893 GB, free: 19.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.7035, allocations: 80.23 kB / 0.7894 GB, free: 19.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/0.7045, allocations: 324.4 kB / 0.7897 GB, free: 19.15 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.934e-05/0.7046, allocations: 16.44 kB / 0.7897 GB, free: 19.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.706, allocations: 0.9713 MB / 0.7907 GB, free: 18.61 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.706, allocations: 4.047 kB / 0.7907 GB, free: 18.61 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003734/0.7097, allocations: 1.314 MB / 0.792 GB, free: 18.28 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007332/0.7105, allocations: 285.4 kB / 0.7922 GB, free: 18.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003617/0.7108, allocations: 13.72 kB / 0.7922 GB, free: 18.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.712, allocations: 125 kB / 0.7924 GB, free: 18.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.7121, allocations: 36.31 kB / 0.7924 GB, free: 18.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.219e-05/0.7122, allocations: 25.28 kB / 0.7924 GB, free: 18.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001524/0.7137, allocations: 0.7415 MB / 0.7931 GB, free: 17.99 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7137, allocations: 0 / 0.7931 GB, free: 17.99 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002303/0.7161, allocations: 0.559 MB / 0.7937 GB, free: 17.91 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 (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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008781/0.7169, allocations: 382.5 kB / 0.7941 GB, free: 17.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003406/0.7204, allocations: 1.215 MB / 0.7952 GB, free: 17.72 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/0.7204, allocations: 0.9688 kB / 0.7952 GB, free: 17.72 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009645/0.7214, allocations: 391.9 kB / 0.7956 GB, free: 17.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/0.7243, allocations: 0.5039 MB / 0.7961 GB, free: 17.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005795/0.7301, allocations: 2.519 MB / 0.7986 GB, free: 16.56 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00065/0.7308, allocations: 1.064 MB / 0.7996 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001173/0.732, allocations: 220.7 kB / 0.7998 GB, free: 15.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.7322, allocations: 75.38 kB / 0.7999 GB, free: 15.78 MB / 0.545 GB Notification: Performance of SimCode: time 7.92e-07/0.7322, allocations: 0 / 0.7999 GB, free: 15.78 MB / 0.545 GB Notification: Performance of Templates: time 0.03726/0.7695, allocations: 23.16 MB / 0.8225 GB, free: 3.871 MB / 0.545 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)