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.0009573/0.0009573, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009049/0.0009049, allocations: 177.3 kB / 15.95 MB, free: 216 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.485/1.485, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.711/1.711, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0004904/0.0004908, allocations: 19.69 kB / 0.6735 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2421, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.04919/0.2913, allocations: 51.34 MB / 0.8372 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01509/0.3065, allocations: 10.24 MB / 0.8472 GB, free: 14.26 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002193/0.3087, allocations: 51.62 kB / 0.8473 GB, free: 14.21 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002501/0.3112, allocations: 0.6297 MB / 0.8479 GB, free: 13.58 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006596/0.3179, allocations: 1.906 MB / 0.8498 GB, free: 11.67 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004055/0.3219, allocations: 1.329 MB / 0.8511 GB, free: 10.36 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004722/0.3267, allocations: 1.847 MB / 0.8529 GB, free: 8.512 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.3284, allocations: 0.8301 MB / 0.8537 GB, free: 7.652 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002369/0.3308, allocations: 0.9847 MB / 0.8546 GB, free: 6.664 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.3318, allocations: 0.6144 MB / 0.8552 GB, free: 6.047 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.3319, allocations: 44 kB / 0.8553 GB, free: 6.004 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002282/0.3342, allocations: 1.006 MB / 0.8563 GB, free: 4.996 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.3345, allocations: 187.2 kB / 0.8564 GB, free: 4.812 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003885/0.3349, allocations: 289 kB / 0.8567 GB, free: 4.523 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.3369, allocations: 1.602 MB / 0.8583 GB, free: 2.918 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.3369, allocations: 0 / 0.8583 GB, free: 2.918 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3369, allocations: 0 / 0.8583 GB, free: 2.918 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.717e-05/0.337, allocations: 4 kB / 0.8583 GB, free: 2.914 MB / 0.67 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.002869/0.3398, allocations: 1.5 MB / 0.8597 GB, free: 1.359 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3399, allocations: 8.031 kB / 0.8598 GB, free: 1.352 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002523/0.3424, allocations: 0.5135 MB / 0.8603 GB, free: 0.8359 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/0.3445, allocations: 1.063 MB / 0.8613 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003357/0.3449, allocations: 133.9 kB / 0.8614 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.345, allocations: 84 kB / 0.8615 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.3471, allocations: 1.025 MB / 0.8625 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.3471, allocations: 0 / 0.8625 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.988e-05/0.3472, allocations: 32 kB / 0.8625 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.3473, allocations: 20 kB / 0.8626 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002563/0.3498, allocations: 0.9915 MB / 0.8635 GB, free: 13.41 MB / 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.006846/0.3567, allocations: 4.727 MB / 0.8681 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004137/0.3608, allocations: 1.121 MB / 0.8692 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/0.3619, allocations: 1.029 MB / 0.8702 GB, free: 5.949 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.3619, allocations: 39 kB / 0.8703 GB, free: 5.902 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=53): time 5.791e-06/0.3619, allocations: 0 / 0.8703 GB, free: 5.902 MB / 0.6856 GB Notification: Performance of matching and sorting (n=53): time 0.007947/0.3699, allocations: 2.147 MB / 0.8724 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.37, allocations: 59.8 kB / 0.8724 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.3714, allocations: 0.9514 MB / 0.8734 GB, free: 2.688 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.135e-05/0.3715, allocations: 37.7 kB / 0.8734 GB, free: 2.645 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004439/0.372, allocations: 0.5081 MB / 0.8739 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.3722, allocations: 185.3 kB / 0.8741 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.3722, allocations: 12 kB / 0.8741 GB, free: 1.938 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.3724, allocations: 326 kB / 0.8744 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.3735, allocations: 376.9 kB / 0.8747 GB, free: 1.246 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.3747, allocations: 0.5303 MB / 0.8753 GB, free: 0.6562 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.3757, allocations: 397.9 kB / 0.8756 GB, free: 276 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.3758, allocations: 4 kB / 0.8757 GB, free: 272 kB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003934/0.3797, allocations: 1.291 MB / 0.8769 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004717/0.3802, allocations: 0.9685 MB / 0.8779 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3802, allocations: 0 / 0.8779 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/0.3815, allocations: 340.4 kB / 0.8782 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006381/0.3822, allocations: 139.8 kB / 0.8783 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/0.3837, allocations: 0.9348 MB / 0.8792 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.385, allocations: 179.2 kB / 0.8794 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.016e-05/0.3851, allocations: 27.98 kB / 0.8794 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3852, allocations: 4 kB / 0.8794 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00352/0.3887, allocations: 1.15 MB / 0.8806 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.3887, allocations: 4 kB / 0.8806 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.3898, allocations: 323.9 kB / 0.8809 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006096/0.3904, allocations: 139.8 kB / 0.881 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.3918, allocations: 0.9386 MB / 0.8819 GB, free: 9.707 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.393, allocations: 170.3 kB / 0.8821 GB, free: 9.543 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.036e-05/0.3931, allocations: 27.98 kB / 0.8821 GB, free: 9.516 MB / 0.7012 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.0005666/0.3937, allocations: 352.9 kB / 0.8824 GB, free: 9.16 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.3938, allocations: 110.6 kB / 0.8825 GB, free: 9.051 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003064/0.3969, allocations: 1.217 MB / 0.8837 GB, free: 7.824 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.3969, allocations: 7.984 kB / 0.8837 GB, free: 7.816 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3969, allocations: 8 kB / 0.8837 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.397, allocations: 3.984 kB / 0.8838 GB, free: 7.805 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004488/0.4014, allocations: 2.335 MB / 0.886 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.4015, allocations: 0 / 0.886 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005401/0.402, allocations: 120 kB / 0.8861 GB, free: 5.277 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001062/0.4031, allocations: 324.4 kB / 0.8865 GB, free: 4.957 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.279e-05/0.4032, allocations: 19.98 kB / 0.8865 GB, free: 4.938 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/0.4046, allocations: 0.9621 MB / 0.8874 GB, free: 3.949 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4047, allocations: 0 / 0.8874 GB, free: 3.949 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003693/0.4084, allocations: 1.472 MB / 0.8889 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005499/0.4089, allocations: 299.4 kB / 0.8891 GB, free: 2.098 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.4091, allocations: 8 kB / 0.8891 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009179/0.41, allocations: 131.9 kB / 0.8893 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.066e-05/0.4101, allocations: 44.27 kB / 0.8893 GB, free: 1.914 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.604e-05/0.4101, allocations: 27.98 kB / 0.8893 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008826/0.411, allocations: 0.6678 MB / 0.89 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.6e-07/0.411, allocations: 0 / 0.89 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001358/0.4124, allocations: 0.573 MB / 0.8906 GB, free: 0.6367 MB / 0.7012 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.000634/0.413, allocations: 393 kB / 0.8909 GB, free: 256 kB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003687/0.4167, allocations: 1.389 MB / 0.8923 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.4168, allocations: 0 / 0.8923 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.418, allocations: 484.9 kB / 0.8927 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/0.4204, allocations: 0.4981 MB / 0.8932 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003913/0.4243, allocations: 2.338 MB / 0.8955 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006053/0.4249, allocations: 1.093 MB / 0.8966 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001007/0.4259, allocations: 235.4 kB / 0.8968 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.4262, allocations: 83.41 kB / 0.8969 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of SimCode: time 5.41e-07/0.4262, allocations: 0 / 0.8969 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of Templates: time 0.04023/0.4664, allocations: 23.46 MB / 0.9198 GB, free: 2.902 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: