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.001589/0.001589, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.01216/0.01216, allocations: 172 kB / 16.26 MB, free: 6.613 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.645/1.645, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.846/1.846, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005358/0.0005359, allocations: 12.59 kB / 0.6743 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2442, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06091/0.3052, allocations: 59.78 MB / 0.8462 GB, free: 15.57 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01856/0.3238, allocations: 11.85 MB / 0.8578 GB, free: 3.691 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00209/0.3259, allocations: 51.62 kB / 0.8579 GB, free: 3.641 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.3279, allocations: 0.5477 MB / 0.8584 GB, free: 3.09 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005623/0.3336, allocations: 1.799 MB / 0.8602 GB, free: 1.285 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003366/0.3369, allocations: 1.097 MB / 0.8612 GB, free: 200 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005364/0.3423, allocations: 3.896 MB / 0.865 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001927/0.3443, allocations: 0.8993 MB / 0.8659 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002866/0.3472, allocations: 1.124 MB / 0.867 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/0.3492, allocations: 0.8787 MB / 0.8679 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004015/0.3496, allocations: 44 kB / 0.8679 GB, free: 9.305 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003721/0.3533, allocations: 1.325 MB / 0.8692 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000541/0.3539, allocations: 222.8 kB / 0.8694 GB, free: 7.758 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001704/0.3556, allocations: 0.6349 MB / 0.87 GB, free: 7.113 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00532/0.361, allocations: 2.216 MB / 0.8722 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.361, allocations: 4 kB / 0.8722 GB, free: 4.887 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.884e-06/0.361, allocations: 0 / 0.8722 GB, free: 4.887 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.141e-05/0.3611, allocations: 0 / 0.8722 GB, free: 4.887 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.003816/0.3649, allocations: 1.509 MB / 0.8737 GB, free: 3.32 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.365, allocations: 8.031 kB / 0.8737 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002781/0.3678, allocations: 0.5144 MB / 0.8742 GB, free: 2.797 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002576/0.3704, allocations: 1.149 MB / 0.8753 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003877/0.3708, allocations: 129.9 kB / 0.8754 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/0.371, allocations: 80 kB / 0.8755 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00251/0.3735, allocations: 1.041 MB / 0.8765 GB, free: 320 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.3736, allocations: 0 / 0.8765 GB, free: 320 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.838e-05/0.3737, allocations: 32 kB / 0.8766 GB, free: 288 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.3737, allocations: 19.94 kB / 0.8766 GB, free: 268 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002943/0.3767, allocations: 1.007 MB / 0.8776 GB, free: 15.26 MB / 0.7012 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.007232/0.3839, allocations: 4.707 MB / 0.8822 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004211/0.3882, allocations: 1.125 MB / 0.8833 GB, free: 9.066 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.3893, allocations: 437.9 kB / 0.8837 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/0.3906, allocations: 1.033 MB / 0.8847 GB, free: 7.383 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.3906, allocations: 39 kB / 0.8847 GB, free: 7.336 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=53): time 2.926e-06/0.3907, allocations: 0 / 0.8847 GB, free: 7.336 MB / 0.7012 GB Notification: Performance of matching and sorting (n=53): time 0.008926/0.3996, allocations: 2.15 MB / 0.8868 GB, free: 5.156 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.3997, allocations: 59.84 kB / 0.8869 GB, free: 5.082 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002293/0.402, allocations: 0.9397 MB / 0.8878 GB, free: 4.125 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.4021, allocations: 41.7 kB / 0.8878 GB, free: 4.078 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005196/0.4027, allocations: 0.5041 MB / 0.8883 GB, free: 3.57 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/0.4029, allocations: 185.3 kB / 0.8885 GB, free: 3.387 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.403, allocations: 53.69 kB / 0.8886 GB, free: 3.328 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4032, allocations: 322 kB / 0.8889 GB, free: 3.008 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.4042, allocations: 384.9 kB / 0.8892 GB, free: 2.633 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.4058, allocations: 0.5381 MB / 0.8898 GB, free: 2.035 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002318/0.4082, allocations: 0.8166 MB / 0.8905 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.4082, allocations: 4 kB / 0.8906 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00351/0.4117, allocations: 1.139 MB / 0.8917 GB, free: 32 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002208/0.412, allocations: 156.5 kB / 0.8918 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.412, allocations: 8 kB / 0.8918 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.4134, allocations: 336.4 kB / 0.8921 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006867/0.4141, allocations: 139.8 kB / 0.8923 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/0.4161, allocations: 0.9464 MB / 0.8932 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.4174, allocations: 168 kB / 0.8934 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.4176, allocations: 31.98 kB / 0.8934 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.4176, allocations: 4 kB / 0.8934 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002916/0.4205, allocations: 0.9976 MB / 0.8944 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4205, allocations: 4 kB / 0.8944 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.4218, allocations: 327.9 kB / 0.8947 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/0.4224, allocations: 147.7 kB / 0.8948 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.424, allocations: 0.9348 MB / 0.8957 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.4257, allocations: 179.2 kB / 0.8959 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.4258, allocations: 27.98 kB / 0.8959 GB, free: 11.56 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.0009561/0.4268, allocations: 345 kB / 0.8963 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004117/0.4272, allocations: 106.7 kB / 0.8964 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005138/0.4324, allocations: 1.229 MB / 0.8976 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.4324, allocations: 4 kB / 0.8976 GB, free: 9.855 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.4324, allocations: 4 kB / 0.8976 GB, free: 9.852 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.4325, allocations: 3.984 kB / 0.8976 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008071/0.4406, allocations: 2.323 MB / 0.8998 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/0.4406, allocations: 4 kB / 0.8999 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008459/0.4415, allocations: 116 kB / 0.9 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001628/0.4431, allocations: 331.6 kB / 0.9003 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.942e-05/0.4432, allocations: 23.98 kB / 0.9003 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/0.4455, allocations: 0.9621 MB / 0.9012 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.4456, allocations: 4.031 kB / 0.9012 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005745/0.4513, allocations: 1.409 MB / 0.9026 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008471/0.4522, allocations: 295.4 kB / 0.9029 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002791/0.4525, allocations: 16 kB / 0.9029 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/0.454, allocations: 119.9 kB / 0.903 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.4541, allocations: 44.31 kB / 0.9031 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-05/0.4542, allocations: 19.98 kB / 0.9031 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001501/0.4558, allocations: 0.6638 MB / 0.9037 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4558, allocations: 4 kB / 0.9037 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002355/0.4581, allocations: 0.5769 MB / 0.9043 GB, free: 2.785 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.001122/0.4593, allocations: 375.7 kB / 0.9047 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005869/0.4652, allocations: 1.397 MB / 0.906 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/0.4652, allocations: 0 / 0.906 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001924/0.4671, allocations: 496.8 kB / 0.9065 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004951/0.4721, allocations: 0.5055 MB / 0.907 GB, free: 32 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007274/0.4794, allocations: 2.384 MB / 0.9093 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/0.4807, allocations: 1.07 MB / 0.9104 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00179/0.4825, allocations: 236.5 kB / 0.9106 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/0.4828, allocations: 79.41 kB / 0.9107 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of SimCode: time 1.493e-06/0.4829, allocations: 4 kB / 0.9107 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of Templates: time 0.5068/0.9897, allocations: 23.79 MB / 0.9339 GB, free: 130.2 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: