Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y") translateModel(BuildingSystems.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008202/0.0008201, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0008898/0.00089, allocations: 168.7 kB / 15.95 MB, free: 204 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.39/1.39, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001676/0.001676, allocations: 278.4 kB / 291.4 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9604/0.9604, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007198/0.0007201, allocations: 15.38 kB / 0.598 GB, free: 28.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2487, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Examples.Carnot_y): time 0.06433/0.3131, allocations: 69.36 MB / 0.7522 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.39/0.7031, allocations: 11.95 MB / 0.7639 GB, free: 31.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003762/0.707, allocations: 57.94 kB / 0.7639 GB, free: 31.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002709/0.7097, allocations: 0.5592 MB / 0.7645 GB, free: 31.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008313/0.718, allocations: 1.9 MB / 0.7663 GB, free: 31.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003625/0.7217, allocations: 0.9693 MB / 0.7673 GB, free: 31.05 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008273/0.7299, allocations: 4.791 MB / 0.772 GB, free: 31.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002487/0.7325, allocations: 1.018 MB / 0.773 GB, free: 30.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003604/0.7361, allocations: 1.266 MB / 0.7742 GB, free: 30.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002726/0.7388, allocations: 1.065 MB / 0.7752 GB, free: 30.63 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002103/0.7391, allocations: 55.69 kB / 0.7753 GB, free: 30.63 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002993/0.7421, allocations: 0.9202 MB / 0.7762 GB, free: 30.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003528/0.7424, allocations: 275.9 kB / 0.7764 GB, free: 30.47 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005671/0.743, allocations: 357.9 kB / 0.7768 GB, free: 30.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0035/0.7465, allocations: 2.078 MB / 0.7788 GB, free: 30.24 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.7465, allocations: 4 kB / 0.7788 GB, free: 30.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.216e-06/0.7465, allocations: 0 / 0.7788 GB, free: 30.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.503e-05/0.7466, allocations: 0 / 0.7788 GB, free: 30.23 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003668/0.7503, allocations: 1.799 MB / 0.7806 GB, free: 29.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.7503, allocations: 13.44 kB / 0.7806 GB, free: 29.21 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007324/0.7511, allocations: 240.9 kB / 0.7808 GB, free: 29.12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.7531, allocations: 1.439 MB / 0.7822 GB, free: 28.74 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.694e-05/0.7532, allocations: 74.5 kB / 0.7823 GB, free: 28.74 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.7534, allocations: 102.5 kB / 0.7824 GB, free: 28.74 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.7552, allocations: 1.112 MB / 0.7835 GB, free: 28.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.7552, allocations: 0 / 0.7835 GB, free: 28.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.922e-05/0.7553, allocations: 48.56 kB / 0.7835 GB, free: 28.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-05/0.7554, allocations: 28.56 kB / 0.7836 GB, free: 28.59 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.7571, allocations: 0.9207 MB / 0.7845 GB, free: 28.57 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.00505/0.7621, allocations: 4.909 MB / 0.7892 GB, free: 26.33 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.7636, allocations: 0.6382 MB / 0.7899 GB, free: 26.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008496/0.7645, allocations: 371.3 kB / 0.7902 GB, free: 26.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005408/0.765, allocations: 0.8227 MB / 0.791 GB, free: 25.33 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.765, allocations: 47.14 kB / 0.7911 GB, free: 25.29 MB / 0.545 GB Notification: Performance of pre-optimization done (n=61): time 2.435e-06/0.7651, allocations: 0.625 kB / 0.7911 GB, free: 25.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=61): time 0.006834/0.7719, allocations: 1.871 MB / 0.7929 GB, free: 25.01 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.772, allocations: 57.88 kB / 0.793 GB, free: 24.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.774, allocations: 1.201 MB / 0.7941 GB, free: 24.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-05/0.7741, allocations: 39.73 kB / 0.7942 GB, free: 24.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004706/0.7746, allocations: 0.6091 MB / 0.7948 GB, free: 24.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.7748, allocations: 211.8 kB / 0.795 GB, free: 24.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.7748, allocations: 13.28 kB / 0.795 GB, free: 24.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.467e-05/0.7749, allocations: 337.5 kB / 0.7953 GB, free: 24.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006578/0.7756, allocations: 299.5 kB / 0.7956 GB, free: 24.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008199/0.7764, allocations: 0.5011 MB / 0.7961 GB, free: 23.88 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007792/0.7772, allocations: 360.2 kB / 0.7964 GB, free: 23.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.7772, allocations: 1.25 kB / 0.7964 GB, free: 23.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0045/0.7817, allocations: 1.394 MB / 0.7978 GB, free: 23.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.825e-05/0.7818, allocations: 200.1 kB / 0.798 GB, free: 23.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.7818, allocations: 3.125 kB / 0.798 GB, free: 23.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005589/0.7824, allocations: 141.3 kB / 0.7981 GB, free: 23.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006321/0.7831, allocations: 170.4 kB / 0.7983 GB, free: 23.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007292/0.7838, allocations: 0.7101 MB / 0.799 GB, free: 22.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.7851, allocations: 161.1 kB / 0.7991 GB, free: 22.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.031e-05/0.7852, allocations: 37.78 kB / 0.7992 GB, free: 22.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.7852, allocations: 4 kB / 0.7992 GB, free: 22.57 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003992/0.7892, allocations: 1.249 MB / 0.8004 GB, free: 22.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.7893, allocations: 7.812 kB / 0.8004 GB, free: 22.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004614/0.7897, allocations: 142.5 kB / 0.8005 GB, free: 22.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005909/0.7903, allocations: 167.8 kB / 0.8007 GB, free: 22.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006497/0.791, allocations: 0.7076 MB / 0.8014 GB, free: 21.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.7923, allocations: 165.9 kB / 0.8015 GB, free: 21.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.529e-05/0.7924, allocations: 35.27 kB / 0.8016 GB, free: 21.53 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008368/0.7932, allocations: 417.2 kB / 0.802 GB, free: 21.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/0.7935, allocations: 136 kB / 0.8021 GB, free: 21.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00417/0.7977, allocations: 1.388 MB / 0.8034 GB, free: 20.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/0.7977, allocations: 10.78 kB / 0.8035 GB, free: 20.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.7977, allocations: 0 / 0.8035 GB, free: 20.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003479/0.8012, allocations: 1.228 MB / 0.8047 GB, free: 20.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006076/0.8073, allocations: 2.742 MB / 0.8073 GB, free: 19.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.8073, allocations: 5.094 kB / 0.8073 GB, free: 19.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004606/0.8078, allocations: 125.3 kB / 0.8075 GB, free: 19.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000457/0.8083, allocations: 135.2 kB / 0.8076 GB, free: 19.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-05/0.8083, allocations: 22.55 kB / 0.8076 GB, free: 19.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00389/0.8122, allocations: 2.425 MB / 0.81 GB, free: 17.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.8122, allocations: 11.27 kB / 0.81 GB, free: 17.42 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004827/0.8171, allocations: 1.844 MB / 0.8118 GB, free: 16.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008287/0.8179, allocations: 328.3 kB / 0.8121 GB, free: 16.51 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.8181, allocations: 21.36 kB / 0.8121 GB, free: 16.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008029/0.8189, allocations: 101.4 kB / 0.8122 GB, free: 16.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.819, allocations: 58.67 kB / 0.8123 GB, free: 16.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.29e-05/0.8191, allocations: 33.88 kB / 0.8123 GB, free: 16.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001222/0.8203, allocations: 0.8542 MB / 0.8131 GB, free: 16.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8203, allocations: 2.297 kB / 0.8131 GB, free: 16.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001898/0.8222, allocations: 0.7059 MB / 0.8138 GB, free: 16.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007703/0.823, allocations: 439.9 kB / 0.8143 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002292/0.8253, allocations: 1.161 MB / 0.8154 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.8253, allocations: 0 / 0.8154 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.8266, allocations: 0.5994 MB / 0.816 GB, free: 15.44 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003315/0.83, allocations: 0.7626 MB / 0.8167 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003614/0.8336, allocations: 2.753 MB / 0.8194 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/0.8341, allocations: 1.172 MB / 0.8205 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001357/0.8355, allocations: 309 kB / 0.8208 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.8358, allocations: 106.7 kB / 0.8209 GB, free: 12.49 MB / 0.545 GB Notification: Performance of SimCode: time 9.71e-07/0.8358, allocations: 0 / 0.8209 GB, free: 12.49 MB / 0.545 GB Notification: Performance of Templates: time 0.04721/0.883, allocations: 29.32 MB / 0.8496 GB, free: 324 kB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)