Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001512, allocations: 95.86 kB / 15.05 MB, free: 1.113 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.001827/0.001827, allocations: 181.3 kB / 15.95 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.4 MB / 222.1 MB, free: 5.371 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.63/1.63, allocations: 251.9 MB / 0.51 GB, free: 4.879 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008174/0.0008177, allocations: 19.27 kB / 0.6241 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6842/0.685, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05572/0.7408, allocations: 51.36 MB / 0.7781 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01734/0.7582, allocations: 10.21 MB / 0.7881 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002624/0.7609, allocations: 43.69 kB / 0.7881 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002541/0.7635, allocations: 0.6257 MB / 0.7887 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007212/0.7707, allocations: 1.905 MB / 0.7906 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004531/0.7752, allocations: 1.242 MB / 0.7918 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004402/0.7797, allocations: 1.846 MB / 0.7936 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.7812, allocations: 0.8303 MB / 0.7944 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002415/0.7836, allocations: 0.977 MB / 0.7954 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.7849, allocations: 0.6144 MB / 0.796 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.785, allocations: 44 kB / 0.796 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002629/0.7876, allocations: 0.9868 MB / 0.797 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.7879, allocations: 199.1 kB / 0.7972 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005281/0.7885, allocations: 285 kB / 0.7974 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002247/0.7907, allocations: 1.586 MB / 0.799 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.7908, allocations: 0 / 0.799 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7908, allocations: 0 / 0.799 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.611e-05/0.7908, allocations: 0 / 0.799 GB, free: 2.504 MB / 0.6075 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.003028/0.7938, allocations: 1.501 MB / 0.8005 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.7939, allocations: 8.031 kB / 0.8005 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002503/0.7964, allocations: 0.5174 MB / 0.801 GB, free: 428 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002224/0.7986, allocations: 1.071 MB / 0.802 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003527/0.799, allocations: 125.9 kB / 0.8021 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.7991, allocations: 80 kB / 0.8022 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/0.8013, allocations: 1.025 MB / 0.8032 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.8014, allocations: 4 kB / 0.8032 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.049e-05/0.8015, allocations: 28 kB / 0.8032 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.8015, allocations: 20 kB / 0.8033 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/0.8041, allocations: 0.9991 MB / 0.8042 GB, free: 12.98 MB / 0.6231 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.007302/0.8115, allocations: 4.722 MB / 0.8089 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00413/0.8156, allocations: 1.133 MB / 0.81 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/0.8168, allocations: 1.033 MB / 0.811 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.8168, allocations: 39 kB / 0.811 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 2.845e-06/0.8168, allocations: 0 / 0.811 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of matching and sorting (n=53): time 0.008177/0.825, allocations: 2.143 MB / 0.8131 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.776e-05/0.8252, allocations: 59.84 kB / 0.8132 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/0.8269, allocations: 0.9475 MB / 0.8141 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001552/0.827, allocations: 37.7 kB / 0.8141 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00059/0.8276, allocations: 0.5157 MB / 0.8146 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/0.8279, allocations: 177.4 kB / 0.8148 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.828, allocations: 12 kB / 0.8148 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.8282, allocations: 326 kB / 0.8151 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.8292, allocations: 368.9 kB / 0.8155 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.8304, allocations: 0.5342 MB / 0.816 GB, free: 236 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.8314, allocations: 394 kB / 0.8164 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.8315, allocations: 0 / 0.8164 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002936/0.8344, allocations: 1.119 MB / 0.8175 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004651/0.8349, allocations: 0.9711 MB / 0.8184 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.8349, allocations: 0 / 0.8184 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/0.8363, allocations: 324.6 kB / 0.8187 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006481/0.837, allocations: 139.8 kB / 0.8188 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.8385, allocations: 0.9386 MB / 0.8198 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.8398, allocations: 167.3 kB / 0.8199 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.794e-05/0.8399, allocations: 35.97 kB / 0.82 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.8399, allocations: 4 kB / 0.82 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002731/0.8427, allocations: 0.9938 MB / 0.8209 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.8427, allocations: 7.938 kB / 0.8209 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.8439, allocations: 316.7 kB / 0.8212 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006264/0.8445, allocations: 135.8 kB / 0.8214 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.846, allocations: 0.9458 MB / 0.8223 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.8473, allocations: 167.4 kB / 0.8225 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-05/0.8474, allocations: 27.98 kB / 0.8225 GB, free: 9.438 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (54): * Single equations (assignments): 53 * 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.0006232/0.848, allocations: 352.9 kB / 0.8228 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/0.8483, allocations: 110.7 kB / 0.8229 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003352/0.8517, allocations: 1.217 MB / 0.8241 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/0.8517, allocations: 15.88 kB / 0.8241 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.8517, allocations: 0 / 0.8241 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.8518, allocations: 3.938 kB / 0.8241 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005315/0.8571, allocations: 2.319 MB / 0.8264 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/0.8571, allocations: 4 kB / 0.8264 GB, free: 5.332 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005635/0.8577, allocations: 120 kB / 0.8265 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00113/0.8588, allocations: 324.4 kB / 0.8268 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.536e-05/0.8589, allocations: 19.98 kB / 0.8268 GB, free: 4.875 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.8605, allocations: 0.9604 MB / 0.8278 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.8605, allocations: 4.031 kB / 0.8278 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00405/0.8646, allocations: 1.472 MB / 0.8292 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00078/0.8654, allocations: 299.4 kB / 0.8295 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002667/0.8657, allocations: 19.92 kB / 0.8295 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.8668, allocations: 127.9 kB / 0.8296 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.867, allocations: 32.39 kB / 0.8297 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.127e-05/0.867, allocations: 23.98 kB / 0.8297 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001203/0.8683, allocations: 0.6716 MB / 0.8304 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8683, allocations: 0 / 0.8304 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002048/0.8703, allocations: 0.569 MB / 0.8309 GB, free: 0.582 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0009497/0.8713, allocations: 373.1 kB / 0.8313 GB, free: 216 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004168/0.8755, allocations: 1.37 MB / 0.8326 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.8755, allocations: 0 / 0.8326 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.8768, allocations: 488.8 kB / 0.8331 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/0.8796, allocations: 0.5164 MB / 0.8336 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005451/0.8851, allocations: 2.332 MB / 0.8359 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.8861, allocations: 1.093 MB / 0.8369 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00124/0.8874, allocations: 222.8 kB / 0.8371 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.8876, allocations: 83.41 kB / 0.8372 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of SimCode: time 9.62e-07/0.8876, allocations: 4 kB / 0.8372 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.04466/0.9323, allocations: 23.34 MB / 0.86 GB, free: 3.012 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1) Environment - environmentSimulation: