Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008977/0.0008975, allocations: 86.8 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.0009183/0.0009186, 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.47/1.47, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001726/0.001726, allocations: 266.5 kB / 291.3 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9689/0.9689, allocations: 169.5 MB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004063, allocations: 12.56 kB / 0.598 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1771, allocations: 88.56 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05429/0.2314, allocations: 56.47 MB / 0.7396 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01541/0.2469, allocations: 11.22 MB / 0.7506 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002251/0.2492, allocations: 51.62 kB / 0.7506 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002241/0.2514, allocations: 472.8 kB / 0.7511 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005291/0.2567, allocations: 1.531 MB / 0.7526 GB, free: 9.547 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00287/0.2596, allocations: 0.8624 MB / 0.7534 GB, free: 8.695 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005217/0.2649, allocations: 3.402 MB / 0.7567 GB, free: 5.277 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.2664, allocations: 0.8105 MB / 0.7575 GB, free: 4.445 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00244/0.2688, allocations: 1.038 MB / 0.7585 GB, free: 3.402 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.2701, allocations: 0.8244 MB / 0.7593 GB, free: 2.574 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.2703, allocations: 44 kB / 0.7594 GB, free: 2.531 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.2727, allocations: 1.103 MB / 0.7605 GB, free: 1.426 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002383/0.273, allocations: 203 kB / 0.7607 GB, free: 1.227 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000444/0.2734, allocations: 285 kB / 0.7609 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.3616/0.6351, allocations: 1.634 MB / 0.7625 GB, free: 28.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.6351, allocations: 4.281 kB / 0.7625 GB, free: 28.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6351, allocations: 0 / 0.7625 GB, free: 28.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.037e-05/0.6352, allocations: 0.9375 kB / 0.7625 GB, free: 28.2 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.003082/0.6383, allocations: 1.516 MB / 0.764 GB, free: 27.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.6383, allocations: 10.88 kB / 0.764 GB, free: 27.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002491/0.6408, allocations: 0.5168 MB / 0.7645 GB, free: 27.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/0.6434, allocations: 1.095 MB / 0.7656 GB, free: 27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003778/0.6438, allocations: 132.8 kB / 0.7657 GB, free: 26.99 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/0.644, allocations: 80.44 kB / 0.7658 GB, free: 26.99 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/0.6464, allocations: 1.028 MB / 0.7668 GB, free: 26.86 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.6464, allocations: 7.266 kB / 0.7668 GB, free: 26.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.042e-05/0.6465, allocations: 32.47 kB / 0.7668 GB, free: 26.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.6465, allocations: 18.47 kB / 0.7669 GB, free: 26.86 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002549/0.6491, allocations: 0.9964 MB / 0.7678 GB, free: 26.82 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.006792/0.6559, allocations: 4.689 MB / 0.7724 GB, free: 24.44 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003819/0.6597, allocations: 1.128 MB / 0.7735 GB, free: 24.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000992/0.6608, allocations: 446.1 kB / 0.7739 GB, free: 24.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007447/0.6615, allocations: 1.029 MB / 0.7749 GB, free: 23.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.6615, allocations: 43.97 kB / 0.775 GB, free: 23.19 MB / 0.545 GB Notification: Performance of pre-optimization done (n=53): time 2.224e-06/0.6616, allocations: 0 / 0.775 GB, free: 23.19 MB / 0.545 GB Notification: Performance of matching and sorting (n=53): time 0.007349/0.6689, allocations: 2.138 MB / 0.7771 GB, free: 22.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.669, allocations: 60.28 kB / 0.7771 GB, free: 22.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.6705, allocations: 0.9325 MB / 0.778 GB, free: 22.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.249e-05/0.6706, allocations: 40.48 kB / 0.7781 GB, free: 22.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003786/0.671, allocations: 0.5105 MB / 0.7786 GB, free: 22.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.6711, allocations: 182.1 kB / 0.7788 GB, free: 22.36 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.6712, allocations: 11.94 kB / 0.7788 GB, free: 22.36 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.333e-05/0.6713, allocations: 332.6 kB / 0.7791 GB, free: 22.05 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009438/0.6722, allocations: 374.6 kB / 0.7794 GB, free: 22.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.6732, allocations: 0.5326 MB / 0.78 GB, free: 21.87 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000958/0.6742, allocations: 399.6 kB / 0.7803 GB, free: 21.85 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.6742, allocations: 3.469 kB / 0.7803 GB, free: 21.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003636/0.6779, allocations: 1.284 MB / 0.7816 GB, free: 21.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.039e-05/0.678, allocations: 163.5 kB / 0.7818 GB, free: 21.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.678, allocations: 2.594 kB / 0.7818 GB, free: 21.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.6791, allocations: 338.4 kB / 0.7821 GB, free: 21.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006012/0.6798, allocations: 139 kB / 0.7822 GB, free: 21.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.681, allocations: 0.9336 MB / 0.7831 GB, free: 20.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.6824, allocations: 178.8 kB / 0.7833 GB, free: 20.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.789e-05/0.6825, allocations: 27.06 kB / 0.7833 GB, free: 20.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.6825, allocations: 4.5 kB / 0.7833 GB, free: 20.92 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003004/0.6855, allocations: 1.156 MB / 0.7845 GB, free: 20.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.6855, allocations: 2.094 kB / 0.7845 GB, free: 20.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009875/0.6865, allocations: 323.9 kB / 0.7848 GB, free: 20.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006054/0.6871, allocations: 143.8 kB / 0.7849 GB, free: 20.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.6883, allocations: 0.9344 MB / 0.7858 GB, free: 20.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.6896, allocations: 170.2 kB / 0.786 GB, free: 20.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.711e-05/0.6897, allocations: 28.7 kB / 0.786 GB, free: 20.24 MB / 0.545 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 (55): * Single equations (assignments): 54 * 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.0006053/0.6903, allocations: 356.8 kB / 0.7863 GB, free: 20.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.6905, allocations: 110.9 kB / 0.7864 GB, free: 19.99 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00319/0.6937, allocations: 1.217 MB / 0.7876 GB, free: 19.88 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/0.6937, allocations: 8.672 kB / 0.7876 GB, free: 19.88 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.6938, allocations: 0.5 kB / 0.7876 GB, free: 19.88 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.6938, allocations: 1.438 kB / 0.7876 GB, free: 19.88 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005582/0.6994, allocations: 2.324 MB / 0.7899 GB, free: 19.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.6994, allocations: 5.375 kB / 0.7899 GB, free: 19.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000546/0.7, allocations: 110.6 kB / 0.79 GB, free: 19.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/0.701, allocations: 326.7 kB / 0.7903 GB, free: 19.42 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.287e-05/0.7011, allocations: 17.31 kB / 0.7904 GB, free: 19.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.7025, allocations: 0.974 MB / 0.7913 GB, free: 18.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.7025, allocations: 1 kB / 0.7913 GB, free: 18.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00375/0.7062, allocations: 1.394 MB / 0.7927 GB, free: 18.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000724/0.707, allocations: 293.8 kB / 0.7929 GB, free: 18.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003274/0.7073, allocations: 10.66 kB / 0.793 GB, free: 18.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.7085, allocations: 124 kB / 0.7931 GB, free: 18.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.926e-05/0.7086, allocations: 44.67 kB / 0.7931 GB, free: 18.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.506e-05/0.7087, allocations: 27.7 kB / 0.7931 GB, free: 18.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001339/0.71, allocations: 0.6529 MB / 0.7938 GB, free: 18.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.01e-07/0.71, allocations: 0 / 0.7938 GB, free: 18.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002384/0.7124, allocations: 0.5718 MB / 0.7943 GB, free: 18.2 MB / 0.545 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.0008885/0.7133, allocations: 370.6 kB / 0.7947 GB, free: 18.06 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003684/0.717, allocations: 1.379 MB / 0.796 GB, free: 18.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.717, allocations: 1.406 kB / 0.796 GB, free: 18.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.7183, allocations: 490.5 kB / 0.7965 GB, free: 18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002707/0.721, allocations: 0.511 MB / 0.797 GB, free: 17.94 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004619/0.7256, allocations: 2.33 MB / 0.7993 GB, free: 16.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005752/0.7262, allocations: 1.072 MB / 0.8003 GB, free: 16.14 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001171/0.7274, allocations: 221.8 kB / 0.8005 GB, free: 16.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.7277, allocations: 79.3 kB / 0.8006 GB, free: 16.08 MB / 0.545 GB Notification: Performance of SimCode: time 8.81e-07/0.7277, allocations: 7.312 kB / 0.8006 GB, free: 16.08 MB / 0.545 GB Notification: Performance of Templates: time 0.03516/0.7628, allocations: 22.99 MB / 0.8231 GB, free: 3.883 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)