Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001263/0.001263, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001813/0.001813, allocations: 194.1 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.926/1.926, allocations: 292.2 MB / 0.5485 GB, free: 13.64 MB / 462.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.001559/0.00156, allocations: 66.33 kB / 0.671 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2947, allocations: 114.5 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05881/0.3535, allocations: 60.74 MB / 0.8422 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01697/0.3705, allocations: 11.83 MB / 0.8537 GB, free: 5.062 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002989/0.3736, allocations: 51.69 kB / 0.8538 GB, free: 5.012 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002212/0.3759, allocations: 0.5867 MB / 0.8543 GB, free: 4.422 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005945/0.3818, allocations: 1.812 MB / 0.8561 GB, free: 2.602 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003477/0.3853, allocations: 1.12 MB / 0.8572 GB, free: 1.492 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0049/0.3902, allocations: 3.098 MB / 0.8602 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.392, allocations: 1.112 MB / 0.8613 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003911/0.396, allocations: 1.339 MB / 0.8626 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.3977, allocations: 0.9451 MB / 0.8635 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002423/0.398, allocations: 120 kB / 0.8637 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003/0.401, allocations: 1.458 MB / 0.8651 GB, free: 9.367 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003422/0.4013, allocations: 298.9 kB / 0.8654 GB, free: 9.074 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009301/0.4023, allocations: 0.7036 MB / 0.8661 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003695/0.406, allocations: 2.322 MB / 0.8683 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.406, allocations: 7.938 kB / 0.8683 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.785e-06/0.406, allocations: 0 / 0.8683 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.442e-05/0.4061, allocations: 0 / 0.8683 GB, free: 6.031 MB / 0.6856 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.003274/0.4093, allocations: 1.738 MB / 0.87 GB, free: 4.234 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4094, allocations: 12.03 kB / 0.87 GB, free: 4.223 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002618/0.412, allocations: 458.8 kB / 0.8705 GB, free: 3.773 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002476/0.4145, allocations: 1.147 MB / 0.8716 GB, free: 2.566 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000348/0.4149, allocations: 121.9 kB / 0.8717 GB, free: 2.449 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.415, allocations: 84 kB / 0.8718 GB, free: 2.367 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/0.4172, allocations: 1.002 MB / 0.8728 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.4172, allocations: 0 / 0.8728 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.918e-05/0.4173, allocations: 32 kB / 0.8728 GB, free: 1.301 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.4173, allocations: 24 kB / 0.8728 GB, free: 1.277 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.4197, allocations: 0.9367 MB / 0.8737 GB, free: 352 kB / 0.6856 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.00659/0.4263, allocations: 4.664 MB / 0.8783 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004096/0.4304, allocations: 1.007 MB / 0.8793 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/0.4315, allocations: 417.9 kB / 0.8797 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/0.4327, allocations: 1.017 MB / 0.8807 GB, free: 8.668 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.4327, allocations: 43 kB / 0.8807 GB, free: 8.617 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=53): time 2.575e-06/0.4327, allocations: 0 / 0.8807 GB, free: 8.617 MB / 0.7012 GB Notification: Performance of matching and sorting (n=53): time 0.007763/0.4405, allocations: 1.951 MB / 0.8826 GB, free: 6.637 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.4406, allocations: 55.84 kB / 0.8827 GB, free: 6.57 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.442, allocations: 0.9474 MB / 0.8836 GB, free: 5.605 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.4421, allocations: 37.7 kB / 0.8836 GB, free: 5.562 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000431/0.4425, allocations: 0.5041 MB / 0.8841 GB, free: 5.055 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.4427, allocations: 181.3 kB / 0.8843 GB, free: 4.875 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/0.443, allocations: 134.1 kB / 0.8844 GB, free: 4.734 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4431, allocations: 326 kB / 0.8847 GB, free: 4.41 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.4442, allocations: 354.9 kB / 0.8851 GB, free: 4.062 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.4454, allocations: 0.5147 MB / 0.8856 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001989/0.4474, allocations: 0.7619 MB / 0.8863 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4474, allocations: 0 / 0.8863 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003062/0.4505, allocations: 1.072 MB / 0.8874 GB, free: 1.609 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.4505, allocations: 4 kB / 0.8874 GB, free: 1.605 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.4505, allocations: 4 kB / 0.8874 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.4518, allocations: 312.8 kB / 0.8877 GB, free: 1.293 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000674/0.4525, allocations: 139.8 kB / 0.8878 GB, free: 1.156 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.454, allocations: 0.9104 MB / 0.8887 GB, free: 228 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.4553, allocations: 155.4 kB / 0.8888 GB, free: 72 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-05/0.4554, allocations: 31.92 kB / 0.8889 GB, free: 40 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001364/0.4567, allocations: 0.5634 MB / 0.8894 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001128/0.4579, allocations: 0.5069 MB / 0.8899 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00197/0.4598, allocations: 0.754 MB / 0.8907 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.639e-06/0.4599, allocations: 4 kB / 0.8907 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00307/0.4629, allocations: 1.068 MB / 0.8917 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.463, allocations: 4 kB / 0.8917 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.463, allocations: 4 kB / 0.8917 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.4641, allocations: 296.7 kB / 0.892 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006582/0.4648, allocations: 131.8 kB / 0.8921 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.4663, allocations: 0.9035 MB / 0.893 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.4677, allocations: 151.5 kB / 0.8931 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.992e-05/0.4678, allocations: 27.98 kB / 0.8932 GB, free: 11.5 MB / 0.7169 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 (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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000273/0.4681, allocations: 212.1 kB / 0.8934 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/0.4683, allocations: 114.6 kB / 0.8935 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003213/0.4715, allocations: 1.156 MB / 0.8946 GB, free: 9.996 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.4716, allocations: 4 kB / 0.8946 GB, free: 9.992 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4716, allocations: 0 / 0.8946 GB, free: 9.992 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.4716, allocations: 3.984 kB / 0.8946 GB, free: 9.988 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004705/0.4763, allocations: 2.257 MB / 0.8968 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.4763, allocations: 0 / 0.8968 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006002/0.4769, allocations: 103.8 kB / 0.8969 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/0.478, allocations: 303 kB / 0.8972 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.719e-05/0.4781, allocations: 19.98 kB / 0.8972 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/0.4796, allocations: 0.9425 MB / 0.8981 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.4796, allocations: 7.969 kB / 0.8982 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003865/0.4835, allocations: 1.316 MB / 0.8994 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007508/0.4842, allocations: 275.5 kB / 0.8997 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/0.4844, allocations: 15.98 kB / 0.8997 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009615/0.4854, allocations: 103.8 kB / 0.8998 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.4855, allocations: 52.25 kB / 0.8999 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.311e-05/0.4856, allocations: 23.98 kB / 0.8999 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001041/0.4866, allocations: 0.6677 MB / 0.9005 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4866, allocations: 0 / 0.9005 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001904/0.4885, allocations: 0.5692 MB / 0.9011 GB, free: 3.176 MB / 0.7169 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 (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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001019/0.4896, allocations: 391.4 kB / 0.9015 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004075/0.4937, allocations: 1.342 MB / 0.9028 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.4937, allocations: 0 / 0.9028 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/0.4949, allocations: 464.8 kB / 0.9032 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/0.4975, allocations: 0.4942 MB / 0.9037 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004357/0.5019, allocations: 2.34 MB / 0.906 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007401/0.5026, allocations: 1.07 MB / 0.907 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001384/0.504, allocations: 235.7 kB / 0.9073 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.5043, allocations: 75.42 kB / 0.9073 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of SimCode: time 1.503e-06/0.5043, allocations: 0 / 0.9073 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of Templates: time 0.4909/0.9953, allocations: 24.58 MB / 0.9313 GB, free: 132.3 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)