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.001043/0.001044, allocations: 84.38 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.001272/0.001272, 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 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.572/1.572, allocations: 252 MB / 0.5102 GB, free: 4.805 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.0005768/0.0005768, allocations: 12 kB / 0.6243 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6351/0.6357, allocations: 106.3 MB / 0.7281 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05577/0.6915, allocations: 56.54 MB / 0.7833 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01748/0.7091, allocations: 11.11 MB / 0.7942 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002822/0.7119, allocations: 51.62 kB / 0.7942 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002153/0.7141, allocations: 456.9 kB / 0.7947 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005791/0.7199, allocations: 1.519 MB / 0.7962 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003531/0.7235, allocations: 0.8721 MB / 0.797 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005228/0.7287, allocations: 3.389 MB / 0.8003 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/0.7305, allocations: 0.8027 MB / 0.8011 GB, free: 488 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002661/0.7332, allocations: 1.034 MB / 0.8021 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.7346, allocations: 0.8244 MB / 0.8029 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.7347, allocations: 44 kB / 0.803 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002962/0.7377, allocations: 1.088 MB / 0.804 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000274/0.738, allocations: 206.9 kB / 0.8042 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005073/0.7385, allocations: 285 kB / 0.8045 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002402/0.7409, allocations: 1.644 MB / 0.8061 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.7409, allocations: 0 / 0.8061 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.625e-06/0.741, allocations: 0 / 0.8061 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.555e-05/0.741, allocations: 0 / 0.8061 GB, free: 11.34 MB / 0.6231 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.002696/0.7437, allocations: 1.516 MB / 0.8076 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.7437, allocations: 12.03 kB / 0.8076 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002408/0.7462, allocations: 0.5174 MB / 0.8081 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/0.7484, allocations: 1.094 MB / 0.8092 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003271/0.7487, allocations: 133.9 kB / 0.8093 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.7488, allocations: 83.94 kB / 0.8094 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/0.751, allocations: 1.029 MB / 0.8104 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.751, allocations: 0 / 0.8104 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.132e-05/0.7511, allocations: 39.98 kB / 0.8104 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/0.7511, allocations: 20 kB / 0.8104 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002485/0.7536, allocations: 0.9953 MB / 0.8114 GB, free: 5.754 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.006202/0.7598, allocations: 4.699 MB / 0.816 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003825/0.7637, allocations: 1.118 MB / 0.8171 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.7648, allocations: 441.9 kB / 0.8175 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009504/0.7657, allocations: 1.029 MB / 0.8185 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.7658, allocations: 39 kB / 0.8185 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 3.306e-06/0.7658, allocations: 0 / 0.8185 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53): time 0.007291/0.7731, allocations: 2.143 MB / 0.8206 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.7731, allocations: 59.84 kB / 0.8207 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.7744, allocations: 0.9319 MB / 0.8216 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.515e-05/0.7745, allocations: 41.64 kB / 0.8216 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005471/0.7751, allocations: 0.5118 MB / 0.8221 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.7753, allocations: 177.4 kB / 0.8223 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.7754, allocations: 12 kB / 0.8223 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.7755, allocations: 330 kB / 0.8226 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009251/0.7764, allocations: 368.9 kB / 0.823 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.7775, allocations: 0.5342 MB / 0.8235 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009742/0.7785, allocations: 398 kB / 0.8239 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.7785, allocations: 0 / 0.8239 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002631/0.7812, allocations: 1.119 MB / 0.825 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.7813, allocations: 160.5 kB / 0.8251 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.7813, allocations: 4 kB / 0.8251 GB, free: 6.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.7826, allocations: 332.5 kB / 0.8255 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/0.7832, allocations: 143.8 kB / 0.8256 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/0.7847, allocations: 0.9454 MB / 0.8265 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.7858, allocations: 171.4 kB / 0.8267 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-05/0.7859, allocations: 31.97 kB / 0.8267 GB, free: 5.273 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.7859, allocations: 6.031 kB / 0.8267 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002533/0.7884, allocations: 0.9859 MB / 0.8277 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.7885, allocations: 0 / 0.8277 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.7895, allocations: 320.8 kB / 0.828 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/0.7901, allocations: 143.8 kB / 0.8281 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.7915, allocations: 0.9348 MB / 0.829 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.7925, allocations: 167.4 kB / 0.8292 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-05/0.7926, allocations: 31.97 kB / 0.8292 GB, free: 2.664 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.0005205/0.7931, allocations: 341 kB / 0.8296 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.7934, allocations: 114.6 kB / 0.8297 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/0.7963, allocations: 1.225 MB / 0.8309 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.7963, allocations: 4 kB / 0.8309 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.7963, allocations: 4 kB / 0.8309 GB, free: 0.9609 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.7963, allocations: 3.984 kB / 0.8309 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004216/0.8006, allocations: 2.319 MB / 0.8331 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.8006, allocations: 4.188 kB / 0.8331 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005226/0.8011, allocations: 115.8 kB / 0.8332 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009809/0.8021, allocations: 316.6 kB / 0.8335 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-05/0.8022, allocations: 15.98 kB / 0.8336 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.8035, allocations: 0.9698 MB / 0.8345 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.8035, allocations: 7.984 kB / 0.8345 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003425/0.807, allocations: 1.394 MB / 0.8359 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004692/0.8075, allocations: 291.4 kB / 0.8362 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.8076, allocations: 15.94 kB / 0.8362 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008619/0.8085, allocations: 127.8 kB / 0.8363 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/0.8086, allocations: 36.38 kB / 0.8363 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.864e-05/0.8086, allocations: 27.94 kB / 0.8364 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009114/0.8096, allocations: 0.656 MB / 0.837 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.8096, allocations: 0 / 0.837 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001425/0.811, allocations: 0.5574 MB / 0.8375 GB, free: 9.953 MB / 0.6544 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.0006575/0.8117, allocations: 365.6 kB / 0.8379 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003521/0.8152, allocations: 1.374 MB / 0.8392 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.8152, allocations: 0 / 0.8392 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.8164, allocations: 484.8 kB / 0.8397 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.8186, allocations: 0.5133 MB / 0.8402 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004006/0.8226, allocations: 2.328 MB / 0.8425 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006613/0.8233, allocations: 1.07 MB / 0.8435 GB, free: 3.766 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009753/0.8243, allocations: 236.4 kB / 0.8437 GB, free: 3.531 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.8245, allocations: 79.41 kB / 0.8438 GB, free: 3.453 MB / 0.6544 GB Notification: Performance of SimCode: time 1.733e-06/0.8245, allocations: 0 / 0.8438 GB, free: 3.453 MB / 0.6544 GB Notification: Performance of Templates: time 0.03938/0.8639, allocations: 23.04 MB / 0.8663 GB, free: 12.71 MB / 0.6856 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: