Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009836/0.0009837, allocations: 92.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009029/0.000903, allocations: 180.2 kB / 16.92 MB, free: 6.684 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.394/1.394, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7212/0.7212, allocations: 123 MB / 415.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003236, allocations: 8.656 kB / 0.4933 GB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4454/0.4457, allocations: 79.28 MB / 0.5707 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.07461/0.5204, allocations: 73.39 MB / 0.6424 GB, free: 3.086 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02111/0.5415, allocations: 12.68 MB / 0.6548 GB, free: 6.375 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003304/0.5449, allocations: 55.62 kB / 0.6548 GB, free: 6.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002633/0.5476, allocations: 0.6721 MB / 0.6555 GB, free: 5.645 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007966/0.5556, allocations: 2.271 MB / 0.6577 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003947/0.5595, allocations: 1.273 MB / 0.659 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008034/0.5676, allocations: 5.543 MB / 0.6644 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002391/0.57, allocations: 1.149 MB / 0.6655 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003332/0.5733, allocations: 1.318 MB / 0.6668 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002514/0.5759, allocations: 1.132 MB / 0.6679 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002973/0.5762, allocations: 56 kB / 0.6679 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003432/0.5796, allocations: 1.243 MB / 0.6692 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003481/0.58, allocations: 286.7 kB / 0.6694 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.5811, allocations: 0.7983 MB / 0.6702 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003943/0.5851, allocations: 2.722 MB / 0.6729 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5851, allocations: 0 / 0.6729 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5851, allocations: 0 / 0.6729 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.623e-05/0.5851, allocations: 0 / 0.6729 GB, free: 3.785 MB / 0.4981 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.003797/0.5889, allocations: 1.776 MB / 0.6746 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.589, allocations: 8.031 kB / 0.6746 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008245/0.5898, allocations: 242.8 kB / 0.6748 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002342/0.5922, allocations: 1.489 MB / 0.6763 GB, free: 156 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.925e-05/0.5923, allocations: 82 kB / 0.6764 GB, free: 76 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/0.5925, allocations: 104 kB / 0.6765 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/0.5949, allocations: 1.116 MB / 0.6776 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.595, allocations: 7.906 kB / 0.6776 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.376e-05/0.5951, allocations: 40 kB / 0.6776 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-05/0.5951, allocations: 28 kB / 0.6776 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/0.5972, allocations: 0.9251 MB / 0.6785 GB, free: 13.82 MB / 0.5137 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.006353/0.6036, allocations: 4.923 MB / 0.6833 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.6053, allocations: 0.6354 MB / 0.684 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007768/0.6061, allocations: 374.8 kB / 0.6843 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007761/0.6069, allocations: 0.8238 MB / 0.6851 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/0.607, allocations: 43.12 kB / 0.6852 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 3.497e-06/0.607, allocations: 0 / 0.6852 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.007882/0.6149, allocations: 1.885 MB / 0.687 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.6149, allocations: 55.97 kB / 0.6871 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/0.6168, allocations: 1.214 MB / 0.6882 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/0.617, allocations: 41.7 kB / 0.6883 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005336/0.6175, allocations: 0.6065 MB / 0.6889 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/0.6177, allocations: 212.9 kB / 0.6891 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.476e-05/0.6178, allocations: 65.69 kB / 0.6891 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.618, allocations: 330 kB / 0.6895 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006972/0.6187, allocations: 305.8 kB / 0.6897 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008909/0.6196, allocations: 0.5076 MB / 0.6902 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.6211, allocations: 0.748 MB / 0.691 GB, free: 392 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.6211, allocations: 3.938 kB / 0.691 GB, free: 388 kB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005267/0.6263, allocations: 1.41 MB / 0.6924 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000178/0.6266, allocations: 194.3 kB / 0.6925 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.6266, allocations: 4 kB / 0.6925 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007082/0.6273, allocations: 152.7 kB / 0.6927 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006987/0.628, allocations: 159.8 kB / 0.6928 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000955/0.629, allocations: 0.7122 MB / 0.6935 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.6305, allocations: 167.1 kB / 0.6937 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.166e-05/0.6306, allocations: 31.98 kB / 0.6937 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.6306, allocations: 4 kB / 0.6937 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004819/0.6354, allocations: 1.249 MB / 0.695 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.6355, allocations: 4 kB / 0.695 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005336/0.636, allocations: 149 kB / 0.6951 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007038/0.6367, allocations: 163.8 kB / 0.6953 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009164/0.6376, allocations: 0.7046 MB / 0.6959 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.639, allocations: 167.1 kB / 0.6961 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.097e-05/0.639, allocations: 35.98 kB / 0.6961 GB, free: 10.96 MB / 0.5294 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 (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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0007707/0.6398, allocations: 417 kB / 0.6965 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.6401, allocations: 134.4 kB / 0.6967 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005081/0.6452, allocations: 1.392 MB / 0.698 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.6452, allocations: 15.92 kB / 0.698 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.6452, allocations: 4 kB / 0.698 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004585/0.6498, allocations: 1.24 MB / 0.6993 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007202/0.657, allocations: 2.731 MB / 0.7019 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.6571, allocations: 0 / 0.7019 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005294/0.6576, allocations: 124.2 kB / 0.702 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005227/0.6581, allocations: 136.8 kB / 0.7022 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.801e-05/0.6582, allocations: 23.98 kB / 0.7022 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005167/0.6634, allocations: 2.435 MB / 0.7046 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.6634, allocations: 8.031 kB / 0.7046 GB, free: 2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005912/0.6693, allocations: 1.863 MB / 0.7064 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006862/0.67, allocations: 331.1 kB / 0.7067 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.6702, allocations: 20 kB / 0.7067 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009272/0.6711, allocations: 91.91 kB / 0.7068 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.6713, allocations: 56.25 kB / 0.7069 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.347e-05/0.6713, allocations: 35.97 kB / 0.7069 GB, free: 15.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001224/0.6726, allocations: 0.866 MB / 0.7078 GB, free: 14.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6726, allocations: 4 kB / 0.7078 GB, free: 14.65 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001859/0.6744, allocations: 0.7095 MB / 0.7084 GB, free: 13.94 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 (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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000828/0.6753, allocations: 447.2 kB / 0.7089 GB, free: 13.51 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002678/0.678, allocations: 1.172 MB / 0.71 GB, free: 12.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.678, allocations: 0 / 0.71 GB, free: 12.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.6796, allocations: 0.5995 MB / 0.7106 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004425/0.684, allocations: 0.7844 MB / 0.7114 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/0.6879, allocations: 2.806 MB / 0.7141 GB, free: 8.074 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007096/0.6887, allocations: 1.177 MB / 0.7153 GB, free: 6.871 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001309/0.69, allocations: 307 kB / 0.7156 GB, free: 6.566 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002992/0.6903, allocations: 115.3 kB / 0.7157 GB, free: 6.453 MB / 0.545 GB Notification: Performance of SimCode: time 9.51e-07/0.6903, allocations: 0 / 0.7157 GB, free: 6.453 MB / 0.545 GB Notification: Performance of Templates: time 0.05083/0.7411, allocations: 31.81 MB / 0.7467 GB, free: 7 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)